From 6fce1235bea41b65a0b7a978c65b908c736365d4 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 15 Jan 2001 18:16:14 +0000 Subject: Fix termios handling. Now synced with behavior of GNU libc. -Erik --- libc/sysdeps/linux/common/syscalls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/syscalls.c') diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index e726ba7fc..534f3779c 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -966,15 +966,15 @@ _syscall2(int,flock,int,fd, int,operation); #ifdef L_writev #include _syscall3(ssize_t, writev, int, filedes, const struct iovec *, vector, int, - count); #endif //#define __NR_getsid 147 #ifdef L_getsid -SYSCALL__(getsid, 1) - ret +#include +_syscall1(pid_t, getsid, pid_t, pid); #endif + //#define __NR_fdatasync 148 #ifdef L_fdatasync SYSCALL__(fdatasync, 1) -- cgit v1.2.3