1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 09:33:50 +01:00

lint: tests: fix improper use of format specifiers

This commit is contained in:
Hinnerk van Bruinehsen 2014-11-21 15:25:56 +01:00
parent eff4f30640
commit 12d0c5bbf2

View File

@ -42,11 +42,11 @@ int main(void)
/* create random numbers */
for (unsigned i = 1; i <= LIMIT; i++) {
printf("generating %i random byte(s)\n", i);
printf("generating %u random byte(s)\n", i);
unsigned count = random_read(buf, i);
if (count != i) {
printf("Error generating random bytes, got %i instead of %i", count, i);
printf("Error generating random bytes, got %u instead of %u", count, i);
return 0;
}