proc_test: fix a format build warning.
[bertos.git] / bertos / kern / proc_test.c
index 5adcbc0160f25adb2cb713614ad20aa016f6fb77..dc2a075c9dd2e23a7f3df8320660658de6726cee 100644 (file)
@@ -217,7 +217,7 @@ static void preempt_worker(void)
                if (UNLIKELY(*my_count == (unsigned int)~0))
                        *my_count = 1;
        }
-       PROC_ATOMIC(kprintf("> %s[%zd] completed: (counter = %d)\n",
+       PROC_ATOMIC(kprintf("> %s[%zd] completed: (counter = %lu)\n",
                                __func__, pid, *my_count));
        for (i = 0; i < TASKS; i++)
                if (!preempt_counter[i])