[PATCH] fs: squashfs: use correct format specifier

Sascha Hauer s.hauer at pengutronix.de
Mon Jun 6 23:10:29 PDT 2016


On Fri, Jun 03, 2016 at 03:26:09PM +0200, Lucas Stach wrote:
> Fixes:
> fs/squashfs/inode.c: warning: format '%d' expects argument
> of type 'int', but argument 3 has type 'long long int'
> 
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>

Applied, thanks

Sascha

> ---
>  fs/squashfs/inode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/squashfs/inode.c b/fs/squashfs/inode.c
> index 749fc7ef9538..923c397fa89f 100644
> --- a/fs/squashfs/inode.c
> +++ b/fs/squashfs/inode.c
> @@ -126,7 +126,7 @@ int squashfs_read_inode(struct inode *inode, long long ino)
>  	struct squashfs_base_inode *sqshb_ino = &squashfs_ino.base;
>  	int xattr_id = SQUASHFS_INVALID_XATTR;
>  
> -	TRACE("Entered squashfs_read_inode: %d\n", ino);
> +	TRACE("Entered squashfs_read_inode: %lld\n", ino);
>  
>  	/*
>  	 * Read inode base common to all inode types.
> -- 
> 2.8.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list