Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/t5614-modernize' into maint
[gitweb.git]
/
server-info.c
diff --git
a/server-info.c
b/server-info.c
index 5a86e297b51261b5f1ae9fa6dad6fa7dc86cd4ba..75dd6774136258c677fe4f4bbe2124c83b4cea68 100644
(file)
--- a/
server-info.c
+++ b/
server-info.c
@@
-36,7
+36,7
@@
static int update_info_file(char *path, int (*generate)(FILE *))
out:
if (ret) {
- error
("unable to update %s: %s", path, strerror(errno)
);
+ error
_errno("unable to update %s", path
);
if (fp)
fclose(fp);
else if (fd >= 0)