summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/port/sysfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/port/sysfile.c b/os/port/sysfile.c
index 702470b6..6f73da2e 100644
--- a/os/port/sysfile.c
+++ b/os/port/sysfile.c
@@ -309,7 +309,7 @@ kfauth(int fd, char *aname)
if(waserror())
return -1;
- validname(aname, 0);
+ validname(aname, 1);
c = fdtochan(up->env->fgrp, fd, ORDWR, 0, 1);
if(waserror()){
cclose(c);