Correct error message
[binmatch.git] / 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);
    }
    {