summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mixer
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-11-27 07:57:44 +0000
committerkris <kris@FreeBSD.org>2000-11-27 07:57:44 +0000
commit608224f4ac19ddf0283c2ea0090951a7a6d4790f (patch)
tree0f4781eae713f00218917f77c73968735a9dcf91 /usr.sbin/mixer
parentc929208bb8a934ee59de0e913a2936d4896c3d83 (diff)
downloadFreeBSD-src-608224f4ac19ddf0283c2ea0090951a7a6d4790f.zip
FreeBSD-src-608224f4ac19ddf0283c2ea0090951a7a6d4790f.tar.gz
Fix format string warnings
Diffstat (limited to 'usr.sbin/mixer')
-rw-r--r--usr.sbin/mixer/mixer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c
index f9bf742..37bd209 100644
--- a/usr.sbin/mixer/mixer.c
+++ b/usr.sbin/mixer/mixer.c
@@ -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");
OpenPOWER on IntegriCloud