commit | a36ac0db675207d083f1d7c755cba853af6631a8 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Fri Mar 04 01:34:23 2005 +0000 |
committer | Mike Frysinger <vapier@gentoo.org> | Fri Mar 04 01:34:23 2005 +0000 |
tree | fc6c47091c8d1559dd44003aabc9f6ecf7677f36 | |
parent | dcc40b7ecc582e5c613276f0a92b942bead8ccd6 [diff] |
Shaun Jackman writes: Fix typo. Use __NR_umount2 instead of __NR_pivot_root.
diff --git a/libbb/syscalls.c b/libbb/syscalls.c index 7f7e0f5..dac90e2 100644 --- a/libbb/syscalls.c +++ b/libbb/syscalls.c
@@ -74,7 +74,7 @@ int umount2(const char * special_file, int flags) { -#ifndef __NR_pivot_root +#ifndef __NR_umount2 #warning This kernel does not support the umount2 syscall #warning -> The umount2 system call is being stubbed out... /* BusyBox was compiled against a kernel that did not support