mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +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>
|
#include <u.h>
|
||||||
#define NOPLAN9DEFINES
|
#define NOPLAN9DEFINES
|
||||||
#include <libc.h>
|
#include <libc.h>
|
||||||
|
#include "9proc.h"
|
||||||
|
|
||||||
extern void p9main(int, char**);
|
extern void p9main(int, char**);
|
||||||
|
|
||||||
|
|
|
@ -167,4 +167,4 @@ HFILES=\
|
||||||
%.$O: utf/%.c
|
%.$O: utf/%.c
|
||||||
$CC $CFLAGS utf/$stem.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;
|
mode ^= ODIRECT;
|
||||||
}
|
}
|
||||||
if(mode){
|
if(mode){
|
||||||
werrstr("mode not supported");
|
werrstr("mode 0x%x not supported", mode);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
fd = open(name, umode);
|
fd = open(name, umode);
|
||||||
|
|
Loading…
Reference in a new issue