diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2000-12-09 09:35:55 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-12-09 09:35:55 +0000 |
| commit | 1a37aa566b347fbb2d2196786e1e84a79ffea9d5 (patch) | |
| tree | a816cae9543dbb9277a62d68a91416fb2fb33da3 /libexec/bootpd/bootpd.c | |
| parent | 2961fc5ac412eec93a03d4badbbf4e01918d864a (diff) | |
Notes
Diffstat (limited to 'libexec/bootpd/bootpd.c')
| -rw-r--r-- | libexec/bootpd/bootpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/bootpd/bootpd.c b/libexec/bootpd/bootpd.c index 216e08f18f4f..aac6263cec5b 100644 --- a/libexec/bootpd/bootpd.c +++ b/libexec/bootpd/bootpd.c @@ -65,6 +65,7 @@ SOFTWARE. #include <errno.h> #include <ctype.h> #include <netdb.h> +#include <paths.h> #include <syslog.h> #include <assert.h> @@ -395,7 +396,7 @@ main(argc, argv) #ifdef NO_SETSID setpgrp(0,0); #ifdef TIOCNOTTY - n = open("/dev/tty", O_RDWR); + n = open(_PATH_TTY, O_RDWR); if (n >= 0) { ioctl(n, TIOCNOTTY, (char *) 0); (void) close(n); |
