Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-23 04:47:10 +0300
committerJunio C Hamano <junkio@cox.net>2006-02-23 06:10:26 +0300
commitbd2afde8a38b97391b22afebf15c583fb0fffacb (patch)
treed2a4357e278f350999c1d991533016231d237abb /refs.c
parent6dc78e696b8597204b903073da932fc5ed0f419e (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.c b/refs.c
index d01fc3984a..826ae7ade7 100644
--- a/refs.c
+++ b/refs.c
@@ -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;
}