Skip to content
Snippets Groups Projects
Commit f9616057 authored by Pekka Enberg's avatar Pekka Enberg
Browse files

tst-solaris-taskq.so: Fix printf format string


Spotted by GCC:

../../tests/tst-solaris-taskq.c: In function ‘tq_test_func’:
../../tests/tst-solaris-taskq.c:25:2: error: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘void *’ [-Werror=format=]
  kprintf("%s called for %s\n", __func__, arg);
  ^

Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent b02b6825
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ static bool tq_done;
static void
tq_test_func(void *arg)
{
kprintf("%s called for %s\n", __func__, arg);
kprintf("%s called for %s\n", __func__, (char *) arg);
mutex_lock(&tq_mutex);
tq_done = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment