summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-21 12:55:51 -0400
committerLennart Poettering <lennart@poettering.net>2012-09-21 22:51:48 +0200
commit848af05524553aa8171de26323707ee06a9bd9d8 (patch)
tree45ec2c354330a33edc355491038fdf7ab0354bc0 /src/shared
parentc2893c4b346b3fe33a3f983a83818e91affa9631 (diff)
missing: Fix compilation error due to wrong __NR_name_to_handle_at definition
"__NR_name_to_handle" should read "__NR_name_to_handle_at". This fixes a compilation error on systems with older kernel headers.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/missing.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index c5bb71a504..14abe4ee2e 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