Properly use format strings.

This commit is contained in:
joerg 2011-05-24 12:40:11 +00:00
parent a3ba17a6a3
commit 80952d9f7f
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: radioctl.c,v 1.8 2009/04/13 04:24:29 lukem Exp $ */
/* $NetBSD: radioctl.c,v 1.9 2011/05/24 12:40:11 joerg Exp $ */
/* $OpenBSD: radioctl.c,v 1.5 2001/12/18 18:42:19 mickey Exp $ */
/* $RuOBSD: radioctl.c,v 1.4 2001/10/20 18:09:10 pva Exp $ */
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: radioctl.c,v 1.8 2009/04/13 04:24:29 lukem Exp $");
__RCSID("$NetBSD: radioctl.c,v 1.9 2011/05/24 12:40:11 joerg Exp $");
#endif
#include <sys/ioctl.h>
@ -459,13 +459,13 @@ print_value(int optval)
printf("%umkV", ri.lock);
break;
case OPTION_MUTE:
printf(ri.mute ? onchar : offchar);
printf("%s", ri.mute ? onchar : offchar);
break;
case OPTION_MONO:
printf(ri.stereo ? offchar : onchar);
printf("%s", ri.stereo ? offchar : onchar);
break;
case OPTION_STEREO:
printf(ri.stereo ? onchar : offchar);
printf("%s", ri.stereo ? onchar : offchar);
break;
case OPTION_VOLUME:
default: