summaryrefslogtreecommitdiff
path: root/sbin/dhclient/errwarn.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-07-09 14:36:17 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-07-09 14:36:17 +0000
commitb6846761b832cdab667a58b2cf37f4daed65c4be (patch)
tree741c3e25e53fecdf77ad30332c8c5589c24bfc9e /sbin/dhclient/errwarn.c
parent8564b944daca156b454a2a5842c536dcd0ed22e9 (diff)
Clean out a few more unused/uninitialized variables.
ok henning@
Diffstat (limited to 'sbin/dhclient/errwarn.c')
-rw-r--r--sbin/dhclient/errwarn.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/dhclient/errwarn.c b/sbin/dhclient/errwarn.c
index 1be0067d97a..6c0fbefc380 100644
--- a/sbin/dhclient/errwarn.c
+++ b/sbin/dhclient/errwarn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errwarn.c,v 1.11 2005/06/01 02:05:55 cloder Exp $ */
+/* $OpenBSD: errwarn.c,v 1.12 2005/07/09 14:36:15 krw Exp $ */
/* Errors and warnings... */
@@ -69,7 +69,7 @@ error(char *fmt, ...)
va_end(list);
#ifndef DEBUG
- syslog(log_priority | LOG_ERR, "%s", mbuf);
+ syslog(LOG_ERR, "%s", mbuf);
#endif
/* Also log it to stderr? */
@@ -101,7 +101,7 @@ warning(char *fmt, ...)
va_end(list);
#ifndef DEBUG
- syslog(log_priority | LOG_ERR, "%s", mbuf);
+ syslog(LOG_ERR, "%s", mbuf);
#endif
if (log_perror) {
@@ -127,7 +127,7 @@ note(char *fmt, ...)
va_end(list);
#ifndef DEBUG
- syslog(log_priority | LOG_INFO, "%s", mbuf);
+ syslog(LOG_INFO, "%s", mbuf);
#endif
if (log_perror) {
@@ -153,7 +153,7 @@ debug(char *fmt, ...)
va_end(list);
#ifndef DEBUG
- syslog(log_priority | LOG_DEBUG, "%s", mbuf);
+ syslog(LOG_DEBUG, "%s", mbuf);
#endif
if (log_perror) {
@@ -218,10 +218,10 @@ parse_warn(char *fmt, ...)
va_end(list);
#ifndef DEBUG
- syslog(log_priority | LOG_ERR, "%s", mbuf);
- syslog(log_priority | LOG_ERR, "%s", token_line);
+ syslog(LOG_ERR, "%s", mbuf);
+ syslog(LOG_ERR, "%s", token_line);
if (lexline < 81)
- syslog(log_priority | LOG_ERR,
+ syslog(LOG_ERR,
"%s^", &spaces[sizeof(spaces) - lexchar]);
#endif