diff --git a/lib/stub/ioctl.c b/lib/stub/ioctl.c index 06699aeb..1d6e63b7 100644 --- a/lib/stub/ioctl.c +++ b/lib/stub/ioctl.c @@ -32,3 +32,14 @@ ioctl (int filedes, unsigned long command, ...) errno = 0; return 0; } + +int +ioctl3 (int filedes, unsigned long command, long data) +{ + static int stub = 0; + if (__mes_debug () && !stub) + eputs ("ioctl3 stub\n"); + stub = 1; + errno = 0; + return 0; +}