Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754605Ab0BAXva (ORCPT ); Mon, 1 Feb 2010 18:51:30 -0500 Received: from cantor2.suse.de ([195.135.220.15]:58492 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754051Ab0BAXv3 (ORCPT ); Mon, 1 Feb 2010 18:51:29 -0500 Date: Tue, 02 Feb 2010 00:51:27 +0100 Message-ID: From: Takashi Iwai To: Thadeu Lima de Souza Cascardo Cc: trivial@kernel.org, Jaroslav Kysela , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] trivial: sound seq ioctl dbg: print hexadecimal value padded with 0s In-Reply-To: <1265048222-8050-1-git-send-email-cascardo@holoscopio.com> References: <1265048222-8050-1-git-send-email-cascardo@holoscopio.com> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 38 At Mon, 1 Feb 2010 16:17:01 -0200, Thadeu Lima de Souza Cascardo wrote: > > Instead of padding with blanks and printing "number=0x a", print > "number=0x0a". > > Signed-off-by: Thadeu Lima de Souza Cascardo Applied now. Thanks. Takashi > --- > sound/core/seq/seq_clientmgr.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > 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; > } > -- > 1.6.6.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/