From 6c3ec1bcb42c38a6bce8511f7fa4c67e926406ca Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Fri, 23 May 2014 15:26:23 +0000 Subject: A #define to rename another #define which is then used only once introduces more obscurity than clarity. Nuke DHCPD_LOG_FACILITY and just use LOG_DAEMON in openlog() call. --- sbin/dhclient/dhclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/dhclient/dhclient.c') diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 63123283641..8a04253e5b2 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.309 2014/05/19 10:42:08 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.310 2014/05/23 15:26:22 krw Exp $ */ /* * Copyright 2004 Henning Brauer @@ -401,7 +401,7 @@ main(int argc, char *argv[]) saved_argv = argv; /* Initially, log errors to stderr as well as to syslogd. */ - openlog(__progname, LOG_PID | LOG_NDELAY, DHCPD_LOG_FACILITY); + openlog(__progname, LOG_PID | LOG_NDELAY, LOG_DAEMON); setlogmask(LOG_UPTO(LOG_INFO)); while ((ch = getopt(argc, argv, "c:di:l:L:qu")) != -1) -- cgit v1.2.3