diff options
author | 2004-04-21 01:44:33 +0000 | |
---|---|---|
committer | 2004-04-21 01:44:33 +0000 | |
commit | 28d63fc7c3483dcc16f69c5c8fa9c2a5d6c5de96 (patch) | |
tree | f06c504a28ee754513e3c8b9dbcefc3471517084 | |
parent | Adapt to new pw_copy() API, closes PR 3698. (diff) | |
download | wireguard-openbsd-28d63fc7c3483dcc16f69c5c8fa9c2a5d6c5de96.tar.xz wireguard-openbsd-28d63fc7c3483dcc16f69c5c8fa9c2a5d6c5de96.zip |
fix the error message in case the _dhcp user does not exist
-rw-r--r-- | usr.sbin/dhcpd/dhcpd.c | 4 |
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) |