summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-01-27 06:06:01 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2021-01-27 06:06:01 (GMT)
commit008687f5f659118bd25136fd5a05bcb9a8f9ef5d (patch)
treef3ec82dcf5f0fa0a3930ee54a8e52fdcafe46cb1
parent94095933338f4803614285f882a1d927954468d7 (diff)
fix umount2 compilation for alpha on Linux 5.x
-rw-r--r--libc/sysdeps/linux/common/umount2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/umount2.c b/libc/sysdeps/linux/common/umount2.c
index b39d8ef..507171f 100644
--- a/libc/sysdeps/linux/common/umount2.c
+++ b/libc/sysdeps/linux/common/umount2.c
@@ -14,7 +14,7 @@ _syscall2(int, umount2, const char *, special_file, int, flags)
libc_hidden_def(umount2)
#endif
-#if defined __UCLIBC_LINUX_SPECIFIC__ && defined __NR_oldumount
+#if defined __UCLIBC_LINUX_SPECIFIC__ && defined __NR_oldumount && !defined __NR_umount2
_syscall2(int, umount, const char *, special_file, int, flags)
strong_alias(umount,umount2)
#endif