[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Alpha compile warning



On Mon, Nov 12, 2001 at 07:10:04PM -0600, Donald Maner wrote:
> gcc -D__KERNEL__ -I/usr/users/donjr/linux-2.4.15-pre4/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5
> -Wa,-mev6    -DEXPORT_SYMTAB -c journal.c
> journal.c: In function `journal_init_inode':
> journal.c:758: warning: long long int format, loff_t arg (arg 5)

Does this patch fix it for you?

--Stephen
Index: fs/jbd/journal.c
===================================================================
RCS file: /cvsroot/gkernel/ext3/fs/jbd/journal.c,v
retrieving revision 1.49.2.5
diff -u -r1.49.2.5 journal.c
--- fs/jbd/journal.c	2001/10/28 05:12:19	1.49.2.5
+++ fs/jbd/journal.c	2001/11/14 18:04:08
@@ -757,7 +757,8 @@
 	journal->j_inode = inode;
 	jbd_debug(1,
 		  "journal %p: inode %s/%ld, size %Ld, bits %d, blksize %ld\n",
-		  journal, bdevname(inode->i_dev), inode->i_ino, inode->i_size,
+		  journal, bdevname(inode->i_dev), inode->i_ino, 
+		  (long long) inode->i_size,
 		  inode->i_sb->s_blocksize_bits, inode->i_sb->s_blocksize);
 
 	journal->j_maxlen = inode->i_size >> inode->i_sb->s_blocksize_bits;

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]