From d3154acac086c48b2731621ce86e677cfe3bfd1e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 21 Aug 2002 00:54:52 +0000 Subject: 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 --- libpthread/linuxthreads/wrapsyscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread') 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). */ -- cgit v1.2.3