change ldso path file logic to replace rather than add to search path
[oweals/musl.git] / src / network / shutdown.c
index 91950c8a8ff0be4a582683d346cfce4467c66058..10ca21aa3cbeaaa95f4ce7f24aecdb64f2bd924d 100644 (file)
@@ -1,9 +1,7 @@
 #include <sys/socket.h>
 #include "syscall.h"
-#include "socketcall.h"
 
 int shutdown(int fd, int how)
 {
-       unsigned long args[] = { fd, how };
-       return syscall2(__NR_socketcall, SYS_SHUTDOWN, (long)args);
+       return socketcall(shutdown, fd, how, 0, 0, 0, 0);
 }