summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/dhcpd.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-04-21 01:44:34 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-04-21 01:44:34 +0000
commitd7d27f5b8ba164acfd88589c428d175ada31ff56 (patch)
treedf8dc2df957ad6e0bb88195186d54453a85dd902 /usr.sbin/dhcpd/dhcpd.c
parent8db2b678974619797ec0d47670dc966ac139aad7 (diff)
fix the error message in case the _dhcp user does not exist
Diffstat (limited to 'usr.sbin/dhcpd/dhcpd.c')
-rw-r--r--usr.sbin/dhcpd/dhcpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/dhcpd.c b/usr.sbin/dhcpd/dhcpd.c
index 4803fd1c1a8..997ffb51649 100644
--- a/usr.sbin/dhcpd/dhcpd.c
+++ b/usr.sbin/dhcpd/dhcpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.c,v 1.15 2004/04/20 00:27:57 henning Exp $ */
+/* $OpenBSD: dhcpd.c,v 1.16 2004/04/21 01:44:33 henning Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@cvs.openbsd.org>
@@ -130,7 +130,7 @@ main(int argc, char *argv[])
icmp_startup(1, lease_pinged);
if ((pw = getpwnam("_dhcp")) == NULL)
- error("%m");
+ error("user \"_dhcp\" not found");
log_perror = 0;
if (daemonize)