[Ocfs2-commits] mfasheh commits r1545 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Oct 4 16:18:35 CDT 2004
Author: mfasheh
Date: 2004-10-04 16:18:33 -0500 (Mon, 04 Oct 2004)
New Revision: 1545
Modified:
trunk/src/buffer_head_io.c
Log:
* print an 'int' as '%d' rather than '%u'
Modified: trunk/src/buffer_head_io.c
===================================================================
--- trunk/src/buffer_head_io.c 2004-10-04 21:16:59 UTC (rev 1544)
+++ trunk/src/buffer_head_io.c 2004-10-04 21:18:33 UTC (rev 1545)
@@ -75,7 +75,7 @@
my_timing_t begin, end;
#endif
- LOG_ENTRY_ARGS("(bh[0]->b_blocknr = %llu, nr=%u, inode=%p)\n",
+ LOG_ENTRY_ARGS("(bh[0]->b_blocknr = %llu, nr=%d, inode=%p)\n",
(unsigned long long)bhs[0]->b_blocknr, nr, inode);
#ifdef OCFS_DBG_TIMING
rdtsc (begin.lohi[0], begin.lohi[1]);
@@ -113,7 +113,7 @@
if (buffer_jbd(bh)) {
#ifdef VERBOSE_BH_JBD_TRACE
LOG_TRACE_ARGS("trying to write a jbd managed bh "
- "(blocknr = %llu), nr=%u\n",
+ "(blocknr = %llu), nr=%d\n",
(unsigned long long)bh->b_blocknr, nr);
#endif
continue;
@@ -187,7 +187,7 @@
#ifdef OCFS_DBG_TIMING
my_timing_t begin, end;
#endif
- LOG_ENTRY_ARGS("(block=(%llu), nr=(%u), flags=%d, inode=%p)\n",
+ LOG_ENTRY_ARGS("(block=(%llu), nr=(%d), flags=%d, inode=%p)\n",
block, nr, flags, inode);
#ifdef OCFS_DBG_TIMING
rdtsc (begin.lohi[0], begin.lohi[1]);
@@ -298,7 +298,7 @@
else
CLEAR_BH_SEQNUM(bh);
}
- LOG_TRACE_ARGS("block=(%llu), nr=(%u), cached=%s\n", block, nr,
+ LOG_TRACE_ARGS("block=(%llu), nr=(%d), cached=%s\n", block, nr,
(!(flags & OCFS_BH_CACHED) || ignore_cache) ? "no" : "yes");
bail:
More information about the Ocfs2-commits
mailing list