Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
credential-cache--daemon.c: use warning_errno()
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sun, 8 May 2016 09:47:41 +0000
(16:47 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 9 May 2016 19:29:08 +0000
(12:29 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
credential-cache--daemon.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
37653a1
)
diff --git
a/credential-cache--daemon.c
b/credential-cache--daemon.c
index caef21e4fc91898f209709f723de1df5afc66a66..94d18f839cd356e0911ae6e9452536a34cb16400 100644
(file)
--- a/
credential-cache--daemon.c
+++ b/
credential-cache--daemon.c
@@
-170,12
+170,12
@@
static int serve_cache_loop(int fd)
client = accept(fd, NULL, NULL);
if (client < 0) {
- warning
("accept failed: %s", strerror(errno)
);
+ warning
_errno("accept failed"
);
return 1;
}
client2 = dup(client);
if (client2 < 0) {
- warning
("dup failed: %s", strerror(errno)
);
+ warning
_errno("dup failed"
);
close(client);
return 1;
}