Skip to content

Commit d05d6fe

Browse files
committed
Fix build error with old gcc versions.
1 parent ed838f5 commit d05d6fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/prctl_syscall_user_dispatch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
static int8_t control = SYSCALL_DISPATCH_FILTER_BLOCK;
66

7-
static void handler(int sig, siginfo_t* si, void*) {
7+
static void handler(int sig, siginfo_t* si, __attribute__((unused)) void* p) {
88
control = SYSCALL_DISPATCH_FILTER_ALLOW;
99
test_assert(sig == SIGSYS);
1010
test_assert(si->si_code == SYS_USER_DISPATCH);

0 commit comments

Comments
 (0)