summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-21 00:54:52 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-21 00:54:52 +0000
commitd3154acac086c48b2731621ce86e677cfe3bfd1e (patch)
tree98c87d9b6250cc64ba368b12c5ede855452ea00e /libc/sysdeps/linux/common/syscalls.c
parent2f2d9d69ac721b09eab8a347b9a31606560c2604 (diff)
Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the way
we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
Diffstat (limited to 'libc/sysdeps/linux/common/syscalls.c')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 99684d069..1b31f7603 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -158,8 +158,7 @@ time_t time (time_t *t)
//#define __NR_mknod 14
#ifdef L_mknod
#include <sys/stat.h>
-_syscall3(int, mknod, const char *, path,
- unsigned short int, mode, unsigned short int, dev);
+_syscall3(int, mknod, const char *, path, mode_t, mode, dev_t, dev);
#endif
//#define __NR_chmod 15