little bug fixes

This commit is contained in:
rsc 2004-05-14 19:45:23 +00:00
parent 8538a66037
commit debcecb539
3 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#include <u.h>
#define NOPLAN9DEFINES
#include <libc.h>
#include "9proc.h"
extern void p9main(int, char**);

View file

@ -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

View file

@ -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);