diff options
author | dholland <dholland@NetBSD.org> | 2014-03-29 22:11:19 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2014-03-29 22:11:19 +0000 |
commit | b8e5b1fd45eaa69e4942c4855a9d3c05fd14e554 (patch) | |
tree | a209bfffeeb00968fc2f8d2148f03f3c2b1744e7 /hunt/huntd | |
parent | 39baeb1c2eb138565c2e60d1375675be5e252148 (diff) | |
download | bsdgames-darwin-b8e5b1fd45eaa69e4942c4855a9d3c05fd14e554.tar.gz bsdgames-darwin-b8e5b1fd45eaa69e4942c4855a9d3c05fd14e554.tar.zst bsdgames-darwin-b8e5b1fd45eaa69e4942c4855a9d3c05fd14e554.zip |
handle compiled-in pathnames the customary way
Diffstat (limited to 'hunt/huntd')
-rw-r--r-- | hunt/huntd/driver.c | 12 |
1 files changed, 7 insertions, 5 deletions
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 <sys/cdefs.h> #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 <sys/ioctl.h> @@ -43,14 +43,16 @@ __RCSID("$NetBSD: driver.c,v 1.30 2014/03/29 21:55:59 dholland Exp $"); #include <signal.h> #include <stdlib.h> #include <unistd.h> -#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; |