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 /lib/libss | |
parent | c174181f432119d1dae3f5e58ecc14c8d7b6f545 (diff) | |
download | FreeBSD-src-c2ee1dcc02035d781d6c70f06df7106979a9f870.zip FreeBSD-src-c2ee1dcc02035d781d6c70f06df7106979a9f870.tar.gz |
Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
Diffstat (limited to 'lib/libss')
-rw-r--r-- | lib/libss/pager.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libss/pager.c b/lib/libss/pager.c index 988f8d9..deea0ba 100644 --- a/lib/libss/pager.c +++ b/lib/libss/pager.c @@ -9,11 +9,14 @@ * For copyright information, see copyright.h. */ +/* $FreeBSD$ */ + #include "ss_internal.h" #include "copyright.h" #include <errno.h> #include <stdio.h> #include <sys/file.h> +#include <paths.h> #include <signal.h> #include <unistd.h> @@ -61,7 +64,7 @@ int ss_pager_create() int ss_pager_create() { int fd; - fd = open("/dev/tty", O_WRONLY, 0); + fd = open(_PATH_TTY, O_WRONLY, 0); return fd; } #endif |