diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib9/main.c | 1 | ||||
-rw-r--r-- | src/lib9/mkfile | 2 | ||||
-rw-r--r-- | src/lib9/open.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/lib9/main.c b/src/lib9/main.c index 3ff63fd6..5b2635b4 100644 --- a/src/lib9/main.c +++ b/src/lib9/main.c @@ -1,6 +1,7 @@ #include <u.h> #define NOPLAN9DEFINES #include <libc.h> +#include "9proc.h" extern void p9main(int, char**); diff --git a/src/lib9/mkfile b/src/lib9/mkfile index 273a79ba..bea11659 100644 --- a/src/lib9/mkfile +++ b/src/lib9/mkfile @@ -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 diff --git a/src/lib9/open.c b/src/lib9/open.c index b70a9a27..95d20d44 100644 --- a/src/lib9/open.c +++ b/src/lib9/open.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); |