diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2012-08-02 16:52:41 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-06 11:09:50 +0200 |
commit | 793ea49c476ebacfefabf78af9ea88a19da6ecdb (patch) | |
tree | 782fc94db8a97d1fc3fe7c4505227a08d21e6aa1 /sound/usb/6fire | |
parent | d30a0d839a5a282e43353fee53d5dc70db5eceda (diff) |
ALSA: print small buffers via %*ph[C]
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/6fire')
-rw-r--r-- | sound/usb/6fire/firmware.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/usb/6fire/firmware.c b/sound/usb/6fire/firmware.c index 56ad923bf6b5..a1d9b0792a1e 100644 --- a/sound/usb/6fire/firmware.c +++ b/sound/usb/6fire/firmware.c @@ -346,11 +346,10 @@ static int usb6fire_fw_check(u8 *version) if (!memcmp(version, known_fw_versions + i, 4)) return 0; - snd_printk(KERN_ERR PREFIX "invalid fimware version in device: " - "%02x %02x %02x %02x. " + snd_printk(KERN_ERR PREFIX "invalid fimware version in device: %*ph. " "please reconnect to power. if this failure " "still happens, check your firmware installation.", - version[0], version[1], version[2], version[3]); + 4, version); return -EINVAL; } |