diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-04 01:34:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-04 01:34:23 +0000 |
commit | a36ac0db675207d083f1d7c755cba853af6631a8 (patch) | |
tree | fc6c47091c8d1559dd44003aabc9f6ecf7677f36 /libbb | |
parent | dcc40b7ecc582e5c613276f0a92b942bead8ccd6 (diff) | |
download | busybox-w32-a36ac0db675207d083f1d7c755cba853af6631a8.tar.gz busybox-w32-a36ac0db675207d083f1d7c755cba853af6631a8.tar.bz2 busybox-w32-a36ac0db675207d083f1d7c755cba853af6631a8.zip |
Shaun Jackman writes: Fix typo. Use __NR_umount2 instead of __NR_pivot_root.
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/syscalls.c | 2 |
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 | ||
75 | int umount2(const char * special_file, int flags) | 75 | int 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 |