From 14f75440f8f3d704e171807a40bcf6eb8a0d00a8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 17 Nov 2000 19:15:32 +0000 Subject: Add in flock (though nobody should use it...) --- libc/sysdeps/linux/common/syscalls.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index 3556f83e0..144581028 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -905,9 +905,10 @@ int select(int n, fd_set * readfds, fd_set * writefds, fd_set * exceptfds, //#define __NR_flock 143 #ifdef L_flock -SYSCALL__(flock, 2) - ret +#include +_syscall2(int,flock,int,fd, int,operation); #endif + //#define __NR_msync 144 #ifdef L_msync SYSCALL__(msync, 3) -- cgit v1.2.3