From 4c20fed226de4d785110b2914fd8508a28a4a11d Mon Sep 17 00:00:00 2001 From: Ned Ludd Date: Sun, 16 Jan 2005 05:08:10 +0000 Subject: - ifdef bdflush update from bug #0000011 --- libc/sysdeps/linux/common/bdflush.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libc/sysdeps/linux/common/bdflush.c') diff --git a/libc/sysdeps/linux/common/bdflush.c b/libc/sysdeps/linux/common/bdflush.c index 40c7df423..f635c78ef 100644 --- a/libc/sysdeps/linux/common/bdflush.c +++ b/libc/sysdeps/linux/common/bdflush.c @@ -9,4 +9,13 @@ #include "syscalls.h" #include + +#ifdef __NR_bdflush _syscall2(int, bdflush, int, __func, long int, __data); +#else +int bdflush(int __func, int __data) +{ + __set_errno(ENOSYS); + return -1; +} +#endif -- cgit v1.2.3