lkml.org 
[lkml]   [2006]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[RFC][6/21]efs modify format strings
From
Date
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.

Signed-off-by: Takashi Sato sho@tnes.nec.co.jp
---
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
--- linux-2.6.17-rc1.org/fs/efs/file.c 2006-03-29 11:48:27.000000000 +0900
+++ linux-2.6.17-rc1.tmp/fs/efs/file.c 2006-03-29 15:40:22.000000000 +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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-04-13 09:09    [W:0.039 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site