diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-21 01:46:36 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-21 01:46:36 +0000 |
commit | 0a362e268fff6eee09f5a55994a1a27e20a780ab (patch) | |
tree | 52b6773862837f4a3ce6575fb21432bc26dd17aa | |
parent | d7d27f5b8ba164acfd88589c428d175ada31ff56 (diff) |
fix _dhcp use nonexistant error message here too
-rw-r--r-- | usr.sbin/dhcrelay/dhcrelay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcrelay/dhcrelay.c b/usr.sbin/dhcrelay/dhcrelay.c index ea2cfa42e5c..86cdf4992f0 100644 --- a/usr.sbin/dhcrelay/dhcrelay.c +++ b/usr.sbin/dhcrelay/dhcrelay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcrelay.c,v 1.17 2004/04/20 20:56:47 canacar Exp $ */ +/* $OpenBSD: dhcrelay.c,v 1.18 2004/04/21 01:46:35 henning Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@cvs.openbsd.org> @@ -151,7 +151,7 @@ main(int argc, char *argv[]) daemon(0, 0); if ((pw = getpwnam("_dhcp")) == NULL) - error("getpwnam: %m"); + error("user \"_dhcp\" not found"); if (chroot(_PATH_VAREMPTY) == -1) error("chroot: %m"); if (chdir("/") == -1) |