summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sup/lib/log.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-26 05:03:11 +0000
committerpeter <peter@FreeBSD.org>1995-12-26 05:03:11 +0000
commit0f0c1319be7a6a44be1d4618b57bb658be4021e0 (patch)
treead3e96caee4fc9d4abc6511e1a60451468df6953 /usr.sbin/sup/lib/log.c
parent7c00e461f5543b11fe323d3703b7842fe708842d (diff)
downloadFreeBSD-src-0f0c1319be7a6a44be1d4618b57bb658be4021e0.zip
FreeBSD-src-0f0c1319be7a6a44be1d4618b57bb658be4021e0.tar.gz
Apply ports/net/sup/patches/patch-aa...
Diffstat (limited to 'usr.sbin/sup/lib/log.c')
-rw-r--r--usr.sbin/sup/lib/log.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.sbin/sup/lib/log.c b/usr.sbin/sup/lib/log.c
index 4879cf7..2974b4a 100644
--- a/usr.sbin/sup/lib/log.c
+++ b/usr.sbin/sup/lib/log.c
@@ -27,6 +27,11 @@
**********************************************************************
* HISTORY
* $Log: log.c,v $
+ * Revision 1.1.1.1 1995/12/26 04:54:47 peter
+ * Import the unmodified version of the sup that we are using.
+ * The heritage of this version is not clear. It appears to be NetBSD
+ * derived from some time ago.
+ *
* Revision 1.1.1.1 1993/08/21 00:46:33 jkh
* Current sup with compression support.
*
@@ -52,8 +57,13 @@
*/
#include <stdio.h>
+#ifdef __hpux
+#include <syslog.h>
+#include <stdlib.h>
+#else
#include <sys/syslog.h>
#include <c.h>
+#endif
#if __STDC__
#include <stdarg.h>
#else
@@ -72,7 +82,7 @@ logopen(program)
char *program;
{
if (opened) return;
- openlog(program,LOG_PID,LOG_DAEMON);
+ openlog(program,LOG_PID,LOG_LOCAL1);
opened++;
}
OpenPOWER on IntegriCloud