artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9c935f
)
Add the LOG_SYSLOG facility to local messages.
author
bluhm
<bluhm@openbsd.org>
Thu, 6 Apr 2017 14:55:43 +0000
(14:55 +0000)
committer
bluhm
<bluhm@openbsd.org>
Thu, 6 Apr 2017 14:55:43 +0000
(14:55 +0000)
OK millert@
usr.sbin/syslogd/log.c
patch
|
blob
|
history
diff --git
a/usr.sbin/syslogd/log.c
b/usr.sbin/syslogd/log.c
index
dc5bbcc
..
7de0fc7
100644
(file)
--- a/
usr.sbin/syslogd/log.c
+++ b/
usr.sbin/syslogd/log.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: log.c,v 1.
2 2017/04/05 11:31:45
bluhm Exp $ */
+/* $OpenBSD: log.c,v 1.
3 2017/04/06 14:55:43
bluhm Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@
-109,7
+109,7
@@
vlog(int pri, const char *fmt, va_list ap)
fprintf(stderr, "%s\n", ebuf);
fflush(stderr);
} else
- vlogmsg(pri, log_procname, fmt, ap);
+ vlogmsg(
facility|
pri, log_procname, fmt, ap);
errno = saved_errno;
}