mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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;
|
||||
if (h.socket_fd >= 0)
|
||||
if (close(h.socket_fd))
|
||||
perror("close");
|
||||
log_sys_error("close", "daemon_open");
|
||||
if (r.cft)
|
||||
daemon_reply_destroy(r);
|
||||
h.socket_fd = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user