diff options
author | Junio C Hamano <junkio@cox.net> | 2006-02-22 17:47:10 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-22 19:10:26 -0800 |
commit | bd2afde8a38b97391b22afebf15c583fb0fffacb (patch) | |
tree | d2a4357e278f350999c1d991533016231d237abb /refs.c | |
parent | 6dc78e696b8597204b903073da932fc5ed0f419e (diff) | |
download | git-bd2afde8a38b97391b22afebf15c583fb0fffacb.tar.gz git-bd2afde8a38b97391b22afebf15c583fb0fffacb.tar.xz |
Give no terminating LF to error() function.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'refs.c')
-rw-r--r-- | refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -268,7 +268,7 @@ static int write_ref_file(const char *filename, char term = '\n'; if (write(fd, hex, 40) < 40 || write(fd, &term, 1) < 1) { - error("Couldn't write %s\n", filename); + error("Couldn't write %s", filename); close(fd); return -1; } |