BSD 4_3_Reno release
[unix-history] / usr / src / bin / sh / xec.c
index 88303e1..9593b9f 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)xec.c      4.6 4/24/88";
+static char sccsid[] = "@(#)xec.c      4.7 5/8/89";
 #endif
 
 #
 #endif
 
 #
@@ -13,6 +13,7 @@ static char sccsid[] = "@(#)xec.c     4.6 4/24/88";
 
 #include       "defs.h"
 #include       "sym.h"
 
 #include       "defs.h"
 #include       "sym.h"
+#include       "pathnames.h"
 
 LOCAL INT      parent;
 
 
 LOCAL INT      parent;
 
@@ -287,7 +288,7 @@ execute(argt, execflg, pf1, pf2)
 
                                /* default std input for & */
                                IF treeflgs&FINT ANDF ioset==0
 
                                /* default std input for & */
                                IF treeflgs&FINT ANDF ioset==0
-                               THEN    rename(chkopen(devnull),0);
+                               THEN    rename(chkopen(_PATH_DEVNULL),0);
                                FI
 
                                /* io redirection */
                                FI
 
                                /* io redirection */