mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
libdaemonclient: Use log_sys_error in place of perror.
This commit is contained in:
parent
7a2a1a7456
commit
4ece923a4b
@ -60,7 +60,7 @@ error:
|
|||||||
h.error = errno;
|
h.error = errno;
|
||||||
if (h.socket_fd >= 0)
|
if (h.socket_fd >= 0)
|
||||||
if (close(h.socket_fd))
|
if (close(h.socket_fd))
|
||||||
perror("close");
|
log_sys_error("close", "daemon_open");
|
||||||
if (r.cft)
|
if (r.cft)
|
||||||
daemon_reply_destroy(r);
|
daemon_reply_destroy(r);
|
||||||
h.socket_fd = -1;
|
h.socket_fd = -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user