artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da4166a
)
Do not print a warning if closing the control socket fails. It
author
bluhm
<bluhm@openbsd.org>
Wed, 5 Apr 2017 00:35:02 +0000
(
00:35
+0000)
committer
bluhm
<bluhm@openbsd.org>
Wed, 5 Apr 2017 00:35:02 +0000
(
00:35
+0000)
cannot happen and there is nothing that could be done about it.
OK deraadt@
usr.sbin/syslogd/syslogd.c
patch
|
blob
|
history
diff --git
a/usr.sbin/syslogd/syslogd.c
b/usr.sbin/syslogd/syslogd.c
index
1e1bfc6
..
bfc7443
100644
(file)
--- a/
usr.sbin/syslogd/syslogd.c
+++ b/
usr.sbin/syslogd/syslogd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: syslogd.c,v 1.23
3 2017/03/28 00:04:43 jsg Exp $
*/
+/* $OpenBSD: syslogd.c,v 1.23
4 2017/04/05 00:35:02 bluhm Exp $
*/
/*
* Copyright (c) 1983, 1988, 1993, 1994
@@
-3085,8
+3085,7
@@
ctlconn_cleanup(void)
{
struct filed *f;
- if (close(fd_ctlconn) == -1)
- logerror("close ctlconn");
+ close(fd_ctlconn);
fd_ctlconn = -1;
event_del(ev_ctlread);
event_del(ev_ctlwrite);