summaryrefslogtreecommitdiffstats
path: root/usr.bin/window/wwterminfo.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-10-26 09:52:06 +0000
committerobrien <obrien@FreeBSD.org>2000-10-26 09:52:06 +0000
commitec817875345826d65474ba3a3d504110e8c6fbc0 (patch)
treebc189af36699941b03bbb64cad3b5d36ad007108 /usr.bin/window/wwterminfo.c
parent6c347dd09c0e09df91ffc26fb93c930157701ae1 (diff)
downloadFreeBSD-src-ec817875345826d65474ba3a3d504110e8c6fbc0.zip
FreeBSD-src-ec817875345826d65474ba3a3d504110e8c6fbc0.tar.gz
Use the pathnames from pathnames.h rather than hardcoding them here.
Add RCSIDs.
Diffstat (limited to 'usr.bin/window/wwterminfo.c')
-rw-r--r--usr.bin/window/wwterminfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/window/wwterminfo.c b/usr.bin/window/wwterminfo.c
index 89994c0..ed60f3b 100644
--- a/usr.bin/window/wwterminfo.c
+++ b/usr.bin/window/wwterminfo.c
@@ -36,6 +36,7 @@
#ifndef lint
static char sccsid[] = "@(#)wwterminfo.c 8.1 (Berkeley) 6/6/93";
+static char rcsid[] = "@(#)$FreeBSD$";
#endif /* not lint */
#ifdef TERMINFO
@@ -80,7 +81,7 @@ wwterminfoinit()
WWT_TERMCAP, wwncol, wwnrow, wwwintermcap);
(void) fclose(fp);
(void) sprintf(buf,
- "cd %s; %s cap >info 2>/dev/null; %s info >/dev/null 2>&1",
+ "cd %s; %s cap >info 2>" _PATH_DEVNULL "; %s info >" _PATH_DEVNULL " 2>&1",
wwterminfopath, _PATH_CAPTOINFO, _PATH_TIC);
(void) system(buf);
return 0;
OpenPOWER on IntegriCloud