diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-20 10:45:28 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-24 08:16:30 -0500 |
commit | 278da87f3b2310064cb6199b735b8f205341b874 (patch) | |
tree | dd93a92447cbf88b5ae588bd102065a707c041c3 /testsuites/psxtests | |
parent | malloctest/init.c: Fix use uninitialized warning (diff) | |
download | rtems-278da87f3b2310064cb6199b735b8f205341b874.tar.bz2 |
psxtests/psx15/init.c: Correct printf() warning
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/psx15/init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/psxtests/psx15/init.c b/testsuites/psxtests/psx15/init.c index cb0d932813..654f0c87fb 100644 --- a/testsuites/psxtests/psx15/init.c +++ b/testsuites/psxtests/psx15/init.c @@ -56,7 +56,9 @@ static void thread_delete_hook( static void suicide_task(rtems_task_argument arg) { - printf("suicide task %" PRIuPTR "\n", arg); + int me = (int) arg; + + printf("suicide task %d\n", me); rtems_task_delete(RTEMS_SELF); rtems_test_assert(false); |