summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/pivot_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/pivot_root.c')
-rw-r--r--libc/sysdeps/linux/common/pivot_root.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/pivot_root.c b/libc/sysdeps/linux/common/pivot_root.c
index 3e9705903..0e738d53f 100644
--- a/libc/sysdeps/linux/common/pivot_root.c
+++ b/libc/sysdeps/linux/common/pivot_root.c
@@ -12,10 +12,4 @@
int pivot_root(const char *new_root, const char *put_old);
#ifdef __NR_pivot_root
_syscall2(int, pivot_root, const char *, new_root, const char *, put_old)
-#else
-int pivot_root(const char *new_root, const char *put_old)
-{
- __set_errno(ENOSYS);
- return -1;
-}
#endif