[PATCH v2 052/110] net: use PRIino format for i_ino

Jeff Layton posted 110 patches 6 hours ago
[PATCH v2 052/110] net: use PRIino format for i_ino
Posted by Jeff Layton 6 hours ago
Convert the i_ino format string in sockfs_dname() to use the PRIino
format macro.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 net/socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/socket.c b/net/socket.c
index d25be67e4b84a5a0a033802404ad06a837b299b3..24b89b8e39405972dd602f3373ae53d56a4c625d 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -399,7 +399,7 @@ static const struct super_operations sockfs_ops = {
  */
 static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen)
 {
-	return dynamic_dname(buffer, buflen, "socket:[%lu]",
+	return dynamic_dname(buffer, buflen, "socket:[%" PRIino "u]",
 				d_inode(dentry)->i_ino);
 }
 

-- 
2.53.0