1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #1091 from BytesGalore/fix_print_format_warning

test:test_pthread_barrier fixed Wformat warning
This commit is contained in:
Christian Mehlis 2014-05-02 14:56:18 +02:00
commit 668800eea7

View File

@ -43,7 +43,7 @@ static void *run(void *id_)
pthread_barrier_wait(&barrier);
uint32_t timeout_us = genrand_uint32() % 2500000;
printf("Child %i sleeps for % 8i µs.\n", id, timeout_us);
printf("Child %i sleeps for %" PRIu32 " µs.\n", id, timeout_us);
vtimer_usleep(timeout_us);
}