Use PRI*32 to print uint32_ts.

This commit is contained in:
Ralf Corsepius
2009-10-30 13:18:33 +00:00
parent d7e7e27248
commit 58397d88e0
16 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ rtems_task Init(
char c;
printf(
"\n\n*** TEST 1 -- NODE %d ***\n",
"\n\n*** TEST 1 -- NODE %" PRIu32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -31,7 +31,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 2 -- NODE %d ***\n",
"\n\n*** TEST 2 -- NODE %" PRIu32 " ***\n",
Multiprocessing_configuration.node
);
+2 -2
View File
@@ -86,7 +86,7 @@ rtems_task Test_task(
puts( "rtems_task_restart of remote task returned the correct error" );
tmpNode = rtems_object_id_get_node(tid);
printf( "Setting notepad %d of the remote task to %d\n", tmpNode, tmpNode );
printf( "Setting notepad %" PRId32 " of the remote task to %" PRId32 "\n", tmpNode, tmpNode );
status = rtems_task_set_note( remote_tid, tmpNode, tmpNode );
directive_failed( status, "rtems_task_set_note" );
@@ -98,7 +98,7 @@ rtems_task Test_task(
puts( "Remote notepad set and read correctly" );
else
printf(
"FAILURE!! Remote notepad was not set and read correctly (%d, %d)\n",
"FAILURE!! Remote notepad was not set and read correctly (%" PRId32 ", %" PRId32 ")\n",
note,
tmpNode
);
+1 -1
View File
@@ -31,7 +31,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 3 -- NODE %d ***\n",
"\n\n*** TEST 3 -- NODE %" PRIu32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -31,7 +31,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 4 -- NODE %d ***\n",
"\n\n*** TEST 4 -- NODE %" PRId32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -31,7 +31,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 5 -- NODE %d ***\n",
"\n\n*** TEST 5 -- NODE %" PRIu32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -31,7 +31,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 6 -- NODE %d ***\n",
"\n\n*** TEST 6 -- NODE %" PRId32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -31,7 +31,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 7 -- NODE %d ***\n",
"\n\n*** TEST 7 -- NODE %" PRId32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -31,7 +31,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 8 -- NODE %d ***\n",
"\n\n*** TEST 8 -- NODE %" PRIu32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -31,7 +31,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 9 -- NODE %d ***\n",
"\n\n*** TEST 9 -- NODE %" PRId32 " ***\n",
Multiprocessing_configuration.node
);
+2 -2
View File
@@ -64,7 +64,7 @@ rtems_task Test_task(
puts( "Flushing remote empty queue" );
status = rtems_message_queue_flush( Queue_id[ 1 ], &count );
directive_failed( status, "rtems_message_queue_flush" );
printf( "%d messages were flushed on the remote queue\n", count );
printf( "%" PRIu32 " messages were flushed on the remote queue\n", count );
puts( "Send messages to be flushed from remote queue" );
status = rtems_message_queue_send( Queue_id[ 1 ], buffer1, 16 );
@@ -73,7 +73,7 @@ rtems_task Test_task(
puts( "Flushing remote queue" );
status = rtems_message_queue_flush( Queue_id[ 1 ], &count );
directive_failed( status, "rtems_message_queue_flush" );
printf( "%d messages were flushed on the remote queue\n", count );
printf( "%" PRIu32 " messages were flushed on the remote queue\n", count );
puts( "Waiting for message queue to be deleted" );
status = rtems_message_queue_receive(
+1 -1
View File
@@ -37,7 +37,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 10 -- NODE %d ***\n",
"\n\n*** TEST 10 -- NODE %" PRIu32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -37,7 +37,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 11 -- NODE %d ***\n",
"\n\n*** TEST 11 -- NODE %" PRIu32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -39,7 +39,7 @@ rtems_task Init(
void *bufaddr;
printf(
"\n\n*** TEST 12 -- NODE %d ***\n",
"\n\n*** TEST 12 -- NODE %" PRId32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -31,7 +31,7 @@ rtems_task Init(
rtems_status_code status;
printf(
"\n\n*** TEST 13 -- NODE %d ***\n",
"\n\n*** TEST 13 -- NODE %" PRId32 " ***\n",
Multiprocessing_configuration.node
);
+1 -1
View File
@@ -42,7 +42,7 @@ rtems_task Init(
rtems_task_priority previous_priority;
printf(
"\n\n*** TEST 14 -- NODE %d ***\n",
"\n\n*** TEST 14 -- NODE %" PRId32 " ***\n",
Multiprocessing_configuration.node
);