index d01fc3984a56e288e175f8201783f18dfe978c10..826ae7ade7b7ebab01f4446ccb135c6f90c5a3a2 100644 (file)
--- a/refs.c
+++ b/refs.c
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;
}