From a34b8c24c35abf638723f005afeeb86a145f61b6 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Thu, 15 Apr 2004 00:36:38 +0000 Subject: use the shiny new _PATH_VAREMPTY --- usr.sbin/dhcrelay/dhcrelay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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 @@ -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"); -- cgit v1.2.3