aboutsummaryrefslogtreecommitdiffstats
path: root/sound/firewire
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2014-08-04 22:17:10 -0400
committerTakashi Iwai <tiwai@suse.de>2014-08-05 03:15:20 -0400
commit30225ed5ca9e8f713fe8e92859f698c5e82a429c (patch)
tree026dce6330ac203c7ab5c2e7559a5138917744f6 /sound/firewire
parente9e3bdffe38b256f920eacc455d30deba5e97655 (diff)
ALSA: fireworks: fix specifiers in format strings for propper output
Use %d for loop counter and %X for device capabilities. This is a supplemental patch for Hans Wennborg's patch. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
-rw-r--r--sound/firewire/fireworks/fireworks_proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/fireworks/fireworks_proc.c b/sound/firewire/fireworks/fireworks_proc.c
index 02bf394fb1b3..0639dcb13f7d 100644
--- a/sound/firewire/fireworks/fireworks_proc.c
+++ b/sound/firewire/fireworks/fireworks_proc.c
@@ -64,7 +64,7 @@ proc_read_hwinfo(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
64 hwinfo->phys_in_grp_count); 64 hwinfo->phys_in_grp_count);
65 for (i = 0; i < hwinfo->phys_in_grp_count; i++) { 65 for (i = 0; i < hwinfo->phys_in_grp_count; i++) {
66 snd_iprintf(buffer, 66 snd_iprintf(buffer,
67 "phys in grp[0x%d]: type 0x%d, count 0x%x\n", 67 "phys in grp[%d]: type 0x%X, count 0x%X\n",
68 i, hwinfo->phys_out_grps[i].type, 68 i, hwinfo->phys_out_grps[i].type,
69 hwinfo->phys_out_grps[i].count); 69 hwinfo->phys_out_grps[i].count);
70 } 70 }
@@ -73,7 +73,7 @@ proc_read_hwinfo(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
73 hwinfo->phys_out_grp_count); 73 hwinfo->phys_out_grp_count);
74 for (i = 0; i < hwinfo->phys_out_grp_count; i++) { 74 for (i = 0; i < hwinfo->phys_out_grp_count; i++) {
75 snd_iprintf(buffer, 75 snd_iprintf(buffer,
76 "phys out grps[0x%d]: type 0x%d, count 0x%x\n", 76 "phys out grps[%d]: type 0x%X, count 0x%X\n",
77 i, hwinfo->phys_out_grps[i].type, 77 i, hwinfo->phys_out_grps[i].type,
78 hwinfo->phys_out_grps[i].count); 78 hwinfo->phys_out_grps[i].count);
79 } 79 }