summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-04-15 00:36:38 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-04-15 00:36:38 +0000
commita34b8c24c35abf638723f005afeeb86a145f61b6 (patch)
tree6f2d788c6268cfc93416207d62f8e30efbd58a52
parent01a6c585e589d86fb718f27a241e26e69e922fb5 (diff)
use the shiny new _PATH_VAREMPTY
-rw-r--r--usr.sbin/dhcrelay/dhcrelay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcrelay/dhcrelay.c b/usr.sbin/dhcrelay/dhcrelay.c
index e66d1dbaa49..01c802319e1 100644
--- a/usr.sbin/dhcrelay/dhcrelay.c
+++ b/usr.sbin/dhcrelay/dhcrelay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcrelay.c,v 1.13 2004/04/13 23:16:17 henning Exp $ */
+/* $OpenBSD: dhcrelay.c,v 1.14 2004/04/15 00:36:37 henning Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@cvs.openbsd.org>
@@ -164,7 +164,7 @@ main(int argc, char *argv[])
if ((pw = getpwnam("_dhcp")) == NULL)
error("getpwnam: %m");
- if (chroot("/var/empty") == -1)
+ if (chroot(_PATH_VAREMPTY) == -1)
error("chroot: %m");
if (chdir("/") == -1)
error("chdir(\"/\"): %m");