summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");