ALSA: fireworks: fix %d confusingly prefixed with 0x in format strings
authorHans Wennborg <hans@hanshq.net>
Mon, 4 Aug 2014 00:21:16 +0000 (17:21 -0700)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Aug 2014 11:17:23 +0000 (13:17 +0200)
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireworks/fireworks_proc.c

index f29d4aaf56a1ba8d2a13740ffb1d61984d208f37..02bf394fb1b360dde731e88156e37ce071f11a43 100644 (file)
@@ -64,7 +64,7 @@ proc_read_hwinfo(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
                    hwinfo->phys_in_grp_count);
        for (i = 0; i < hwinfo->phys_in_grp_count; i++) {
                snd_iprintf(buffer,
-                           "phys in grp[0x%d]: type 0x%d, count 0x%d\n",
+                           "phys in grp[0x%d]: type 0x%d, count 0x%x\n",
                            i, hwinfo->phys_out_grps[i].type,
                            hwinfo->phys_out_grps[i].count);
        }
@@ -73,7 +73,7 @@ proc_read_hwinfo(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
                    hwinfo->phys_out_grp_count);
        for (i = 0; i < hwinfo->phys_out_grp_count; i++) {
                snd_iprintf(buffer,
-                           "phys out grps[0x%d]: type 0x%d, count 0x%d\n",
+                           "phys out grps[0x%d]: type 0x%d, count 0x%x\n",
                            i, hwinfo->phys_out_grps[i].type,
                            hwinfo->phys_out_grps[i].count);
        }