Correct error message
authorTJ <ubuntu@tjworld.net>
Tue, 26 Oct 2010 13:22:12 +0000 (14:22 +0100)
committerTJ <ubuntu@tjworld.net>
Tue, 26 Oct 2010 13:22:12 +0000 (14:22 +0100)
binmatch.c

index ee5a99d..b459ce5 100644 (file)
@@ -87,7 +87,7 @@ main(int argc, char *argv[], char *env[]) {
     exit(4);
    }
    if(MAP_FAILED == (haystack_mmap = mmap(haystack_mmap, haystack_stat.st_size, PROT_READ, MAP_SHARED, haystack_fd, 0))) {
-    perror("Unable to memory-map needle");
+    perror("Unable to memory-map haystack");
     exit(8);
    }
    {