aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-03-04 01:34:23 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-03-04 01:34:23 +0000
commitf607f26b2eb4d7c6b90e4812787ce959e95f6221 (patch)
treefc6c47091c8d1559dd44003aabc9f6ecf7677f36
parent113675dd71676613a45444e01e08ee047a66fefe (diff)
downloadbusybox-w32-f607f26b2eb4d7c6b90e4812787ce959e95f6221.tar.gz
busybox-w32-f607f26b2eb4d7c6b90e4812787ce959e95f6221.tar.bz2
busybox-w32-f607f26b2eb4d7c6b90e4812787ce959e95f6221.zip
Shaun Jackman writes: Fix typo. Use __NR_umount2 instead of __NR_pivot_root.
git-svn-id: svn://busybox.net/trunk/busybox@9973 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--libbb/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/syscalls.c b/libbb/syscalls.c
index 7f7e0f55d..dac90e24b 100644
--- a/libbb/syscalls.c
+++ b/libbb/syscalls.c
@@ -74,7 +74,7 @@ int klogctl(int type, char *b, int len)
74 74
75int umount2(const char * special_file, int flags) 75int umount2(const char * special_file, int flags)
76{ 76{
77#ifndef __NR_pivot_root 77#ifndef __NR_umount2
78#warning This kernel does not support the umount2 syscall 78#warning This kernel does not support the umount2 syscall
79#warning -> The umount2 system call is being stubbed out... 79#warning -> The umount2 system call is being stubbed out...
80 /* BusyBox was compiled against a kernel that did not support 80 /* BusyBox was compiled against a kernel that did not support