git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
6c979c7
)
server-info.c: use error_errno()
author
Nguyễn Thái Ngọc Duy
<redacted>
Sun, 8 May 2016 09:47:55 +0000
(16:47 +0700)
committer
Junio C Hamano
<redacted>
Mon, 9 May 2016 19:29:08 +0000
(12:29 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
Signed-off-by: Junio C Hamano <redacted>
server-info.c
patch
|
blob
|
history
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)
git clone https://git.99rst.org/PROJECT