Skip to content

Commit

Permalink
unit tests: fix format string
Browse files Browse the repository at this point in the history
Signed-off-by: Daniele Ahmed <ahmeddan amazon c;0m >
  • Loading branch information
82marbag committed Jul 12, 2021
1 parent 75cec62 commit ffef790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unittests.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ int unit_tests(void *_unused) {
}

if (opt_ulong != 42) {
printk("Integer parameter opt_ulong != 42: %d\n", opt_ulong);
printk("Integer parameter opt_ulong != 42: %lu\n", opt_ulong);
BUG();
}
else {
Expand Down

0 comments on commit ffef790

Please sign in to comment.