mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
little bug fixes
This commit is contained in:
parent
8538a66037
commit
debcecb539
3 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
#include <u.h>
|
||||
#define NOPLAN9DEFINES
|
||||
#include <libc.h>
|
||||
#include "9proc.h"
|
||||
|
||||
extern void p9main(int, char**);
|
||||
|
||||
|
|
|
@ -167,4 +167,4 @@ HFILES=\
|
|||
%.$O: utf/%.c
|
||||
$CC $CFLAGS utf/$stem.c
|
||||
|
||||
rendez-Linux.$O: rendez-futex.c rendez-signal.c
|
||||
rendez-Linux.$O: rendez-signal.c
|
||||
|
|
|
@ -22,7 +22,7 @@ p9open(char *name, int mode)
|
|||
mode ^= ODIRECT;
|
||||
}
|
||||
if(mode){
|
||||
werrstr("mode not supported");
|
||||
werrstr("mode 0x%x not supported", mode);
|
||||
return -1;
|
||||
}
|
||||
fd = open(name, umode);
|
||||
|
|
Loading…
Reference in a new issue