Fix format string warnings
This commit is contained in:
parent
09d07d748c
commit
4887d15929
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69258
@ -41,7 +41,7 @@ usage(int devmask, int recmask)
|
||||
if ((1 << i) & devmask) {
|
||||
if (n)
|
||||
printf(", ");
|
||||
printf(names[i]);
|
||||
printf("%s", names[i]);
|
||||
n = 1;
|
||||
}
|
||||
printf("\n rec devices: ");
|
||||
@ -49,7 +49,7 @@ usage(int devmask, int recmask)
|
||||
if ((1 << i) & recmask) {
|
||||
if (n)
|
||||
printf(", ");
|
||||
printf(names[i]);
|
||||
printf("%s", names[i]);
|
||||
n = 1;
|
||||
}
|
||||
printf("\n");
|
||||
@ -78,7 +78,7 @@ print_recsrc(int recsrc)
|
||||
if ((1 << i) & recsrc) {
|
||||
if (n)
|
||||
fprintf(stderr, ", ");
|
||||
fprintf(stderr, names[i]);
|
||||
fprintf(stderr, "%s", names[i]);
|
||||
n = 1;
|
||||
}
|
||||
fprintf(stderr, "\n");
|
||||
|
Loading…
Reference in New Issue
Block a user