lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 06 Aug 2014 09:47:52 +0300
From:	Boaz Harrosh <openosd@...il.com>
To:	Hans Wennborg <hans@...shq.net>, bharrosh@...asas.com,
	osd-dev@...n-osd.org, linux-kernel@...r.kernel.org
Subject: Re: [osd-dev] [PATCH 13/15] exofs: fix decimal printf format specifiers
 prefixed with 0x

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@...shq.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);
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ