From ffef7902fe74e6207b2cbe1077363b78c8a6dec6 Mon Sep 17 00:00:00 2001 From: 82marbag <69267416+82marbag@users.noreply.github.com> Date: Mon, 12 Jul 2021 12:06:56 -0400 Subject: [PATCH] unit tests: fix format string Signed-off-by: Daniele Ahmed --- tests/unittests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittests.c b/tests/unittests.c index cc4a3c1a..d804e550 100644 --- a/tests/unittests.c +++ b/tests/unittests.c @@ -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 {