diff options
author | obrien <obrien@FreeBSD.org> | 2000-12-09 09:35:55 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-12-09 09:35:55 +0000 |
commit | c2ee1dcc02035d781d6c70f06df7106979a9f870 (patch) | |
tree | 757810dc1fdd19be4c8125ccb9e8beb1aff3d929 /usr.sbin/pim6sd | |
parent | c174181f432119d1dae3f5e58ecc14c8d7b6f545 (diff) | |
download | FreeBSD-src-c2ee1dcc02035d781d6c70f06df7106979a9f870.zip FreeBSD-src-c2ee1dcc02035d781d6c70f06df7106979a9f870.tar.gz |
Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
Diffstat (limited to 'usr.sbin/pim6sd')
-rw-r--r-- | usr.sbin/pim6sd/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pim6sd/main.c b/usr.sbin/pim6sd/main.c index 0024286..e4ae450 100644 --- a/usr.sbin/pim6sd/main.c +++ b/usr.sbin/pim6sd/main.c @@ -60,6 +60,7 @@ #include <sys/param.h> #include <sys/time.h> #include <errno.h> +#include <paths.h> #include <stdlib.h> #include <stdio.h> #include <signal.h> @@ -466,7 +467,7 @@ usage: (void) setpgrp(); #else #ifdef TIOCNOTTY - t = open("/dev/tty", 2); + t = open(_PATH_TTY, 2); if (t >= 0) { (void) ioctl(t, TIOCNOTTY, (char *) 0); |