summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-01-27 07:06:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-01-27 07:06:01 +0100
commit008687f5f659118bd25136fd5a05bcb9a8f9ef5d (patch)
treef3ec82dcf5f0fa0a3930ee54a8e52fdcafe46cb1 /libc/sysdeps/linux
parent94095933338f4803614285f882a1d927954468d7 (diff)
fix umount2 compilation for alpha on Linux 5.x
Diffstat (limited to 'libc/sysdeps/linux')
-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 b39d8ef73..507171f24 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