[Ocfs2-tools-commits] zab commits r312 - trunk/debugfs.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Oct 4 12:33:06 CDT 2004


Author: zab
Date: 2004-10-04 12:33:04 -0500 (Mon, 04 Oct 2004)
New Revision: 312

Modified:
   trunk/debugfs.ocfs2/dump.c
Log:
o Silence format warning


Modified: trunk/debugfs.ocfs2/dump.c
===================================================================
--- trunk/debugfs.ocfs2/dump.c	2004-10-04 17:29:20 UTC (rev 311)
+++ trunk/debugfs.ocfs2/dump.c	2004-10-04 17:33:04 UTC (rev 312)
@@ -24,6 +24,7 @@
  */
 
 #include <main.h>
+#include <inttypes.h>
 
 extern dbgfs_gbls gbls;
 
@@ -317,7 +318,7 @@
 void dump_group_descriptor (FILE *out, ocfs2_group_desc *blk)
 {
 
-	fprintf (out, "\tParent Chain: %u   Blknum: %llu\n",
+	fprintf (out, "\tParent Chain: %u   Blknum: %"PRIu64"\n",
 		 blk->bg_chain,
 		 blk->bg_blkno);
 



More information about the Ocfs2-tools-commits mailing list