All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boaz Harrosh <openosd@gmail.com>
To: Hans Wennborg <hans@hanshq.net>,
	bharrosh@panasas.com, osd-dev@open-osd.org,
	linux-kernel@vger.kernel.org
Subject: Re: [osd-dev] [PATCH 13/15] exofs: fix decimal printf format specifiers prefixed with 0x
Date: Wed, 06 Aug 2014 09:47:52 +0300	[thread overview]
Message-ID: <53E1CF98.6010308@gmail.com> (raw)
In-Reply-To: <1407300246-454-1-git-send-email-hans@hanshq.net>

On 08/06/2014 07:44 AM, Hans Wennborg wrote:
> The prefix suggests the number should be printed in hex, so use
> the %x specifier to do that.
> 
> Found by using regex suggested by Joe Perches.
> 
> Signed-off-by: Hans Wennborg <hans@hanshq.net>

Thanks will push
Boaz

> ---
>  fs/exofs/dir.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/exofs/dir.c b/fs/exofs/dir.c
> index 49f51ab..54ab575 100644
> --- a/fs/exofs/dir.c
> +++ b/fs/exofs/dir.c
> @@ -143,7 +143,7 @@ Espan:
>  bad_entry:
>  	EXOFS_ERR(
>  		"ERROR [exofs_check_page]: bad entry in directory(0x%lx): %s - "
> -		"offset=%lu, inode=0x%llu, rec_len=%d, name_len=%d\n",
> +		"offset=%lu, inode=0x%llx, rec_len=%d, name_len=%d\n",
>  		dir->i_ino, error, (page->index<<PAGE_CACHE_SHIFT)+offs,
>  		_LLU(le64_to_cpu(p->inode_no)),
>  		rec_len, p->name_len);
> 


      reply	other threads:[~2014-08-06  6:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-06  4:44 [PATCH 13/15] exofs: fix decimal printf format specifiers prefixed with 0x Hans Wennborg
2014-08-06  6:47 ` Boaz Harrosh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53E1CF98.6010308@gmail.com \
    --to=openosd@gmail.com \
    --cc=bharrosh@panasas.com \
    --cc=hans@hanshq.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=osd-dev@open-osd.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.