From: TJ Date: Tue, 26 Oct 2010 13:22:12 +0000 (+0100) Subject: Correct error message X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=binmatch.git;a=commitdiff_plain;h=775a136e45054dbe29786550d1d140d7566a727b Correct error message --- diff --git a/binmatch.c b/binmatch.c index ee5a99d..b459ce5 100644 --- a/binmatch.c +++ b/binmatch.c @@ -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); } {