diff options
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 366b6951e9..2eac6d5aa9 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -7698,7 +7698,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, header.version = tswap32(target_header->version); header.pid = tswap32(target_header->pid); - if (header.version != _LINUX_CAPABILITY_VERSION_1) { + if (header.version != _LINUX_CAPABILITY_VERSION) { /* Version 2 and up takes pointer to two user_data structs */ data_items = 2; } |