From: Thadeu Lima de Souza Cascardo Date: Mon, 1 Feb 2010 18:17:01 +0000 (-0200) Subject: ALSA: trivial: sound seq ioctl dbg: print hexadecimal value padded with 0s X-Git-Tag: upstream/snapshot3+hdmi~14573^2~2^2~48^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c85a400499093b2025238413198e48e4d825723e;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ALSA: trivial: sound seq ioctl dbg: print hexadecimal value padded with 0s Instead of padding with blanks and printing "number=0x a", print "number=0x0a". Signed-off-by: Thadeu Lima de Souza Cascardo Signed-off-by: Takashi Iwai --- diff --git a/sound/core/seq/seq_clientmgr.c b/sound/core/seq/seq_clientmgr.c index 8ca2be3..48eca9f 100644 --- a/sound/core/seq/seq_clientmgr.c +++ b/sound/core/seq/seq_clientmgr.c @@ -2190,7 +2190,7 @@ static int snd_seq_do_ioctl(struct snd_seq_client *client, unsigned int cmd, if (p->cmd == cmd) return p->func(client, arg); } - snd_printd("seq unknown ioctl() 0x%x (type='%c', number=0x%2x)\n", + snd_printd("seq unknown ioctl() 0x%x (type='%c', number=0x%02x)\n", cmd, _IOC_TYPE(cmd), _IOC_NR(cmd)); return -ENOTTY; }