Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-log (internal): add approxidate.
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index d01fc3984a56e288e175f8201783f18dfe978c10..826ae7ade7b7ebab01f4446ccb135c6f90c5a3a2 100644
(file)
--- 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;
}