summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/syscalls.c2
1 files changed, 1 insertions, 1 deletions
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 klogctl(int type, char *b, int len)
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