summaryrefslogtreecommitdiff
path: root/dhcpctl/omshell.c
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpctl/omshell.c')
-rw-r--r--dhcpctl/omshell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpctl/omshell.c b/dhcpctl/omshell.c
index 47e5d0be..44fd2726 100644
--- a/dhcpctl/omshell.c
+++ b/dhcpctl/omshell.c
@@ -100,7 +100,7 @@ main(int argc, char **argv) {
}
/* Initially, log errors to stderr as well as to syslogd. */
- openlog ("omshell", LOG_NDELAY, DHCPD_LOG_FACILITY);
+ openlog ("omshell", DHCP_LOG_OPTIONS, DHCPD_LOG_FACILITY);
status = dhcpctl_initialize ();
if (status != ISC_R_SUCCESS) {
fprintf (stderr, "dhcpctl_initialize: %s\n",