aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ee
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-12-09 09:35:55 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-12-09 09:35:55 +0000
commit1a37aa566b347fbb2d2196786e1e84a79ffea9d5 (patch)
treea816cae9543dbb9277a62d68a91416fb2fb33da3 /usr.bin/ee
parent2961fc5ac412eec93a03d4badbbf4e01918d864a (diff)
downloadsrc-1a37aa566b347fbb2d2196786e1e84a79ffea9d5.tar.gz
src-1a37aa566b347fbb2d2196786e1e84a79ffea9d5.zip
Notes
Diffstat (limited to 'usr.bin/ee')
-rw-r--r--usr.bin/ee/ee.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ee/ee.c b/usr.bin/ee/ee.c
index 88a89e1ce552..7284f07770a5 100644
--- a/usr.bin/ee/ee.c
+++ b/usr.bin/ee/ee.c
@@ -80,6 +80,7 @@ char *version = "@(#) ee, version 1.3";
#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#include <paths.h>
#include <pwd.h>
#include <signal.h>
#include <sys/types.h>
@@ -577,7 +578,7 @@ char *argv[];
scr_pos =0;
scr_vert = 0;
scr_horz = 0;
- bit_bucket = fopen("/dev/null", "w");
+ bit_bucket = fopen(_PATH_DEVNULL, "w");
edit = TRUE;
gold = case_sen = FALSE;
shell_fork = TRUE;