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:
parent
7b73bbcca4
commit
2bf5f6ecc9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user