Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 6fbb015

Browse files
author
Sarah Jelinek
authored
Merge pull request #45 from marcinslusarz/fcntl-decode
Fix decoding of fcntl syscall.
2 parents e2781f8 + 72314fe commit 6fbb015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/intercept_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ intercept_log_syscall(const char *libpath, long nr, long arg0, long arg1,
712712
buf = print_syscall(buf, "fcntl", 3,
713713
F_DEC, arg0,
714714
F_FCNTL_CMD, arg1,
715-
F_DEC, arg1,
715+
F_HEX, arg2,
716716
result_known, result);
717717
} else if (nr == SYS_flock) {
718718
buf = print_syscall(buf, "flock", 2,

0 commit comments

Comments
 (0)