diff options
author | Pete Wyckoff <pw@padd.com> | 2012-04-29 20:28:45 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-30 15:45:51 -0700 |
commit | 82247e9bd5f7c90c4eac9674fb7518845cd3e432 (patch) | |
tree | 09fd8632c7e1ec214968eec58ded00184869646f /compat/win32mmap.c | |
parent | 9768cafe681a7844d5a1d067991053b25db83bbb (diff) | |
download | git-82247e9bd5f7c90c4eac9674fb7518845cd3e432.tar.gz git-82247e9bd5f7c90c4eac9674fb7518845cd3e432.tar.xz |
remove superfluous newlines in error messages
The error handling routines add a newline. Remove
the duplicate ones in error messages.
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/win32mmap.c')
-rw-r--r-- | compat/win32mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/win32mmap.c b/compat/win32mmap.c index b58aa69fa..61d2ef8e4 100644 --- a/compat/win32mmap.c +++ b/compat/win32mmap.c @@ -30,7 +30,7 @@ void *git_mmap(void *start, size_t length, int prot, int flags, int fd, off_t of temp = MapViewOfFileEx(hmap, FILE_MAP_COPY, h, l, length, start); if (!CloseHandle(hmap)) - warning("unable to close file mapping handle\n"); + warning("unable to close file mapping handle"); return temp ? temp : MAP_FAILED; } |