diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-15 00:36:38 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-15 00:36:38 +0000 |
commit | a34b8c24c35abf638723f005afeeb86a145f61b6 (patch) | |
tree | 6f2d788c6268cfc93416207d62f8e30efbd58a52 /usr.sbin/dhcrelay/dhcrelay.c | |
parent | 01a6c585e589d86fb718f27a241e26e69e922fb5 (diff) |
use the shiny new _PATH_VAREMPTY
Diffstat (limited to 'usr.sbin/dhcrelay/dhcrelay.c')
-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 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"); |