debugging for sam, and an old fix forgotten

This commit is contained in:
rsc 2005-01-07 18:03:36 +00:00
parent b80755cf2d
commit a19ff5b204
11 changed files with 28 additions and 7 deletions

View file

@ -28,6 +28,10 @@ p9open(char *name, int mode)
umode |= O_DIRECT;
mode ^= ODIRECT;
}
if(mode&ONONBLOCK){
umode |= O_NONBLOCK;
mode ^= ONONBLOCK;
}
if(mode){
werrstr("mode 0x%x not supported", mode);
return -1;