flacdiff: Add format specifier to prints

printf/fprintf prefer format specifiers rather than variable strings
(despite the const status). No functional change.

Fixes the following compiler reported warning:
warning: format not a string literal and no format arguments [-Wformat-security]
This commit is contained in:
NotTsunami 2020-05-21 13:45:56 -04:00 committed by Martijn van Beurden
parent 7b73bbcca4
commit 2bf5f6ecc9

View File

@ -218,11 +218,11 @@ int main(int argc, char *argv[])
#endif
if(argc > 1 && 0 == strcmp(argv[1], "-h")) {
printf(usage);
printf("%s", usage);
return 0;
}
else if(argc != 3) {
fprintf(stderr, usage);
fprintf(stderr, "%s", usage);
return 255;
}