projects
/
binmatch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cefd3be
)
Correct error message
author
TJ
<ubuntu@tjworld.net>
Tue, 26 Oct 2010 13:22:12 +0000
(14:22 +0100)
committer
TJ
<ubuntu@tjworld.net>
Tue, 26 Oct 2010 13:22:12 +0000
(14:22 +0100)
binmatch.c
patch
|
blob
|
history
diff --git
a/binmatch.c
b/binmatch.c
index
ee5a99d
..
b459ce5
100644
(file)
--- 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);
}
{