[UPDATE][8/24]efs modify format strings

[email protected]
Newsgroups gmane.linux.kernel,gmane.comp.file-systems.ext2.devel
Message-ID <[email protected]>
Summary of this patch:
  [8/24]  modify format strings in print(efs)
          - As i_blocks of VFS inode gets 8 byte variable, change its
            string format to %lld.

Signed-off-by: Takashi Sato [email protected]
---
diff -upNr -X linux-2.6.17-rc4/Documentation/dontdiff linux-2.6.17-rc4/fs/efs/file.c linux-2.6.17-rc4.tmp/fs/efs/file.c
--- linux-2.6.17-rc4/fs/efs/file.c	2006-03-20 14:53:29.000000000 +0900
+++ linux-2.6.17-rc4.tmp/fs/efs/file.c	2006-05-25 16:32:28.543691208 +0900
@@ -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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.