tests: use literal string instead of format string for interval

`UINT16_MAX` should be the same value on all platforms, so why not use
`puts` instead of `printf` here instead. Also, `llvm` detects an issue
with using the `UINT16_MAX` macro with `PRIu16` here.
This commit is contained in:
Martine Lenders 2018-07-19 20:35:00 +02:00
parent 2412c001cf
commit 04b58da249

View File

@ -64,7 +64,7 @@ static int _init(int argc, char** argv)
puts("\t\t1: right aligned\n");
puts("\t\t2: center aligned\n");
puts("\tfrequency: desired frequency in Hz\n");
printf("\tresolution: number between 2 and %" PRIu16 "\n", UINT16_MAX);
puts("\tresolution: number between 2 and 65535");
return 1;
}