From b8e5b1fd45eaa69e4942c4855a9d3c05fd14e554 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 29 Mar 2014 22:11:19 +0000 Subject: handle compiled-in pathnames the customary way --- hunt/huntd/driver.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'hunt/huntd') diff --git a/hunt/huntd/driver.c b/hunt/huntd/driver.c index 1f37092b..88b497fb 100644 --- a/hunt/huntd/driver.c +++ b/hunt/huntd/driver.c @@ -1,4 +1,4 @@ -/* $NetBSD: driver.c,v 1.30 2014/03/29 21:55:59 dholland Exp $ */ +/* $NetBSD: driver.c,v 1.31 2014/03/29 22:11:19 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include #ifndef lint -__RCSID("$NetBSD: driver.c,v 1.30 2014/03/29 21:55:59 dholland Exp $"); +__RCSID("$NetBSD: driver.c,v 1.31 2014/03/29 22:11:19 dholland Exp $"); #endif /* not lint */ #include @@ -43,14 +43,16 @@ __RCSID("$NetBSD: driver.c,v 1.30 2014/03/29 21:55:59 dholland Exp $"); #include #include #include -#include"hunt.h" + +#include "hunt.h" +#include "pathnames.h" #ifdef INTERNET static uint16_t Test_port = TEST_PORT; #else -static const char Sock_name[] = "/tmp/hunt"; -static const char Stat_name[] = "/tmp/hunt.stats"; +static const char Sock_name[] = PATH_HUNTSOCKET; +static const char Stat_name[] = PATH_STATSOCKET; #endif static SOCKET Daemon; -- cgit v1.2.3-56-ge451