Skip to content

Commit

Permalink
Fix decoding of fcntl syscall.
Browse files Browse the repository at this point in the history
We were printing 2nd argument twice.
  • Loading branch information
marcinslusarz committed Sep 1, 2017
1 parent d263de2 commit 72314fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/intercept_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ intercept_log_syscall(const char *libpath, long nr, long arg0, long arg1,
buf = print_syscall(buf, "fcntl", 3,
F_DEC, arg0,
F_FCNTL_CMD, arg1,
F_DEC, arg1,
F_HEX, arg2,
result_known, result);
} else if (nr == SYS_flock) {
buf = print_syscall(buf, "flock", 2,
Expand Down

0 comments on commit 72314fe

Please sign in to comment.