From 775a136e45054dbe29786550d1d140d7566a727b Mon Sep 17 00:00:00 2001 From: TJ Date: Tue, 26 Oct 2010 14:22:12 +0100 Subject: [PATCH] Correct error message --- binmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } { -- 2.17.1