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:
commit
668800eea7
@ -43,7 +43,7 @@ static void *run(void *id_)
|
|||||||
pthread_barrier_wait(&barrier);
|
pthread_barrier_wait(&barrier);
|
||||||
|
|
||||||
uint32_t timeout_us = genrand_uint32() % 2500000;
|
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);
|
vtimer_usleep(timeout_us);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user