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.
This commit is contained in:
committed by
Lennart Poettering
parent
c2893c4b34
commit
848af05524
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user