summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpf <mpf@openbsd.org>2004-10-05 21:17:02 +0000
committermpf <mpf@openbsd.org>2004-10-05 21:17:02 +0000
commitd80884ced5cf89973ed0dfd59f9a0fb481e3f5d9 (patch)
treedb906fd0001bb12df77dc40dc29a54fd87ae0ad4
parentChange the default passtime to 25 minutes, (diff)
downloadwireguard-openbsd-d80884ced5cf89973ed0dfd59f9a0fb481e3f5d9.tar.xz
wireguard-openbsd-d80884ced5cf89973ed0dfd59f9a0fb481e3f5d9.zip
Use priority instead of facility in vsyslog()
Pointed out by Peter Philipp. ok mcbride@
-rw-r--r--usr.sbin/ifstated/ifstated.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ifstated/ifstated.c b/usr.sbin/ifstated/ifstated.c
index d5d662b578e..964fca8e079 100644
--- a/usr.sbin/ifstated/ifstated.c
+++ b/usr.sbin/ifstated/ifstated.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifstated.c,v 1.19 2004/09/21 12:04:39 mpf Exp $ */
+/* $OpenBSD: ifstated.c,v 1.20 2004/10/05 21:17:02 mpf Exp $ */
/*
* Copyright (c) 2004 Marco Pfatschbacher <mpf@openbsd.org>
@@ -707,7 +707,7 @@ logit(int level, const char *fmt, ...)
fprintf(stderr, "\n");
}
} else
- vsyslog(LOG_DAEMON, fmt, ap);
+ vsyslog(LOG_NOTICE, fmt, ap);
va_end(ap);
}