From c2ee1dcc02035d781d6c70f06df7106979a9f870 Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 9 Dec 2000 09:35:55 +0000 Subject: Add `_PATH_DEVZERO'. Use _PATH_* where where possible. --- usr.sbin/mrouted/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/mrouted') diff --git a/usr.sbin/mrouted/main.c b/usr.sbin/mrouted/main.c index f3fc676..87ab3ff 100644 --- a/usr.sbin/mrouted/main.c +++ b/usr.sbin/mrouted/main.c @@ -33,6 +33,7 @@ static const char rcsid[] = #include #endif #include +#include #ifdef SNMP #include "snmp.h" @@ -384,7 +385,7 @@ main(argc, argv) (void)setpgrp(); #else #ifdef TIOCNOTTY - t = open("/dev/tty", 2); + t = open(_PATH_TTY, 2); if (t >= 0) { (void)ioctl(t, TIOCNOTTY, (char *)0); (void)close(t); -- cgit v1.1