summaryrefslogtreecommitdiffstats
path: root/src/socket_wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_wrapper.c')
-rw-r--r--src/socket_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index 8efa896..6ed13ba 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -665,6 +665,8 @@ static int libc_vioctl(int d, unsigned long int request, va_list ap)
int rc;
int i;
+ swrap_load_lib_function(SWRAP_LIBC, ioctl);
+
for (i = 0; i < 4; i++) {
args[i] = va_arg(ap, long int);
}