Skip to content

Commit

Permalink
close_range01: Fix printf format modifiers
Browse files Browse the repository at this point in the history
Closes: #1177
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Li Xiaosong <rj45usb@163.com>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
ilove737 authored and pevik committed Jul 24, 2024
1 parent 1564e8c commit 5a443da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcases/kernel/syscalls/close_range/close_range01.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static inline void do_close_range(unsigned int fd, unsigned int max_fd,
tst_brk(TCONF | TERRNO, "No CLOSE_RANGE_CLOEXEC");
}

tst_brk(TBROK | TERRNO, "close_range(%d, %d, %d)", fd, max_fd, flags);
tst_brk(TBROK | TERRNO, "close_range(%u, %u, %u)", fd, max_fd, flags);
}

static void setup(void)
Expand Down

0 comments on commit 5a443da

Please sign in to comment.