Skip to content

Commit

Permalink
stress-sysinval: fix build failure for getresuid32
Browse files Browse the repository at this point in the history
Fixing a build error for x86 architectures

Signed-off-by: bybug <felxasus@gmail.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
  • Loading branch information
bybug authored and Colin Ian King committed Jul 2, 2020
1 parent 161475a commit 0c13228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stress-sysinval.c
Expand Up @@ -642,8 +642,8 @@ static const stress_syscall_arg_t stress_syscall_args[] = {
{ SYS(getresuid), 3, { ARG_PTR_WR, ARG_PTR_WR, ARG_PTR_WR, 0, 0, 0 } },
#endif
#if DEFSYS(getresuid32)
{ SYS(getresuid), 3, { ARG_PTR, ARG_PTR, ARG_PTR, 0, 0, 0 } },
{ SYS(getresuid), 3, { ARG_PTR_WR, ARG_PTR_WR, ARG_PTR_WR, 0, 0, 0 } },
{ SYS(getresuid32), 3, { ARG_PTR, ARG_PTR, ARG_PTR, 0, 0, 0 } },
{ SYS(getresuid32), 3, { ARG_PTR_WR, ARG_PTR_WR, ARG_PTR_WR, 0, 0, 0 } },
#endif
#if DEFSYS(getrlimit)
{ SYS(getrlimit), 2, { ARG_RND, ARG_PTR, 0, 0, 0, 0 } },
Expand Down

0 comments on commit 0c13228

Please sign in to comment.