nixpkgs/pkgs/os-specific/linux/systemd/name_to_handle_at.patch
2012-09-21 13:30:00 -04:00

22 lines
548 B
Diff

diff --git a/src/shared/missing.h b/src/shared/missing.h
index c5bb71a..14abe4e 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -209,12 +209,12 @@ static inline pid_t gettid(void) {
#endif
#ifdef __x86_64__
-# ifndef __NR_name_to_handle
-# define __NR_name_to_handle 303
+# ifndef __NR_name_to_handle_at
+# define __NR_name_to_handle_at 303
# endif
#else
-# ifndef __NR_name_to_handle
-# define __NR_name_to_handle 341
+# ifndef __NR_name_to_handle_at
+# define __NR_name_to_handle_at 341
# endif
#endif