[PATCH] fs: squashfs: use correct format specifier

Lucas Stach l.stach at pengutronix.de
Fri Jun 3 06:26:09 PDT 2016


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>
---
 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




More information about the barebox mailing list