From 5fbdd461892c3bcca6e39a157dfecfd0ab1baf5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 9 Feb 2010 17:34:02 +0100 Subject: [PATCH] client: fix message typo --- client/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/common.c b/client/common.c index 751fdef..56d260f 100644 --- a/client/common.c +++ b/client/common.c @@ -618,7 +618,7 @@ int mmap_file(const char *file, int *fd, void **buffer, size_t *length) { *buffer = mmap(NULL, *length, PROT_READ, MAP_PRIVATE, *fd, 0); if (*buffer == MAP_FAILED) { - fprintf(stderr, "%s: Could not map file to memmory: %s\n", file, + fprintf(stderr, "%s: Could not map file to memory: %s\n", file, strerror(errno)); close(*fd); return -1; -- 2.11.4.GIT