1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

dist/tools/tunslip: tunslip6: fix invalidPrintfArgType_uint

Since the argument type is 'long', the printf
format string has to be '%li' instead of '%lu'.
This commit is contained in:
Matthias Kolja Miehl 2016-08-21 17:22:03 +02:00
parent 652f5ef8b9
commit eb39aec480

View File

@ -130,7 +130,7 @@ stamptime(void)
msecs += 1000;
}
fprintf(stderr, "%04lu.%03lu ", secs, msecs);
fprintf(stderr, "%04li.%03li ", secs, msecs);
}
else {
startsecs = secs;