summaryrefslogtreecommitdiff
path: root/NetWare
diff options
context:
space:
mode:
Diffstat (limited to 'NetWare')
-rw-r--r--NetWare/Nwmain.c4
-rw-r--r--NetWare/nw5.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/NetWare/Nwmain.c b/NetWare/Nwmain.c
index 029c24948d..219ab6cd7a 100644
--- a/NetWare/Nwmain.c
+++ b/NetWare/Nwmain.c
@@ -181,7 +181,7 @@ void main(int argc, char *argv[])
char sNUL[MAX_DN_BYTES] = {'\0'};
strcpy(sNUL, NWDEFPERLROOT);
- strcat(sNUL, "\\nul");
+ strcat(sNUL, "\\nwnul");
if (access((const char *)sNUL, 0) != 0)
{
// The file, "nul" is not found and so create the file.
@@ -313,7 +313,7 @@ void fnSigTermHandler(int sig)
char sNUL[MAX_DN_BYTES] = {'\0'};
strcpy(sNUL, NWDEFPERLROOT);
- strcat(sNUL, "\\nul");
+ strcat(sNUL, "\\nwnul");
if (access((const char *)sNUL, 0) == 0)
{
// The file, "nul" is found and so delete it.
diff --git a/NetWare/nw5.c b/NetWare/nw5.c
index ea6d849951..5fe6ad3b16 100644
--- a/NetWare/nw5.c
+++ b/NetWare/nw5.c
@@ -582,7 +582,7 @@ nw_open(const char *path, int flag, ...)
va_end(ap);
if (stricmp(path, "/dev/null")==0)
- path = "NUL";
+ path = "NWNUL";
return open(path, flag, pmode);
}