debugging for sam, and an old fix forgotten
This commit is contained in:
parent
b80755cf2d
commit
a19ff5b204
11 changed files with 28 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue