summaryrefslogtreecommitdiffstats
path: root/libpthread
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 /libpthread
parent2f2d9d69ac721b09eab8a347b9a31606560c2604 (diff)
downloaduClibc-alpine-d3154acac086c48b2731621ce86e677cfe3bfd1e.tar.bz2
uClibc-alpine-d3154acac086c48b2731621ce86e677cfe3bfd1e.tar.xz
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 'libpthread')
-rw-r--r--libpthread/linuxthreads/wrapsyscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/wrapsyscall.c b/libpthread/linuxthreads/wrapsyscall.c
index 847870862..ba6d1b860 100644
--- a/libpthread/linuxthreads/wrapsyscall.c
+++ b/libpthread/linuxthreads/wrapsyscall.c
@@ -109,13 +109,13 @@ CANCELABLE_SYSCALL (int, nanosleep, (const struct timespec *requested_time,
/* open(2). */
CANCELABLE_SYSCALL_VA (int, open, (const char *pathname, int flags, ...),
- (pathname, flags, va_arg (ap, int)), flags)
+ (pathname, flags, va_arg (ap, mode_t)), flags)
#ifdef __UCLIBC_HAVE_LFS__
/* open64(3). */
CANCELABLE_SYSCALL_VA (int, open64, (const char *pathname, int flags, ...),
- (pathname, flags, va_arg (ap, int)), flags)
+ (pathname, flags, va_arg (ap, mode_t)), flags)
#endif
/* pause(2). */