Skip to contentSkip to conversation

efs modify format strings

RFC In review [email protected] 1 participant 1 message Apr 13, 2006

lore
Share & tools
lore
#0 lore raw

RFC 6/21 efs modify format strings

Summary of this patch:
[6/21] modify format strings in print(efs)
- As i_blocks of VFS inode gets 8 byte variable, change its string format to %lld.

---

fs/efs/file.c +2 -2
diff -upNr -X linux-2.6.17-rc1.org/Documentation/dontdiff linux-2.6.17-rc1.org/fs/efs/file.c linux-2.6.17-rc1.tmp/fs/efs/file.c
@@ -22,7 +22,7 @@ int efs_get_block(struct inode *inode, s
 		/*
 		 * i have no idea why this happens as often as it does
 		 */
-		printk(KERN_WARNING "EFS: bmap(): block %d >= %ld (filesize %ld)\n",
+		printk(KERN_WARNING "EFS: bmap(): block %d >= %lld (filesize %ld)\n",
 			block,
 			inode->i_blocks,
 			inode->i_size);
@@ -48,7 +48,7 @@ int efs_bmap(struct inode *inode, efs_bl
 		/*
 		 * i have no idea why this happens as often as it does
 		 */
-		printk(KERN_WARNING "EFS: bmap(): block %d >= %ld (filesize %ld)\n",
+		printk(KERN_WARNING "EFS: bmap(): block %d >= %lld (filesize %ld)\n",
 			block,
 			inode->i_blocks,
 			inode->i_size);