summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster/heartbeat.c
diff options
context:
space:
mode:
authorMark Fasheh2006-02-02 01:42:10 +0100
committerMark Fasheh2006-02-03 22:55:26 +0100
commit215c7f9fa11d3fc6ccd2df242d259c721ec7ae6a (patch)
tree873d9a2d1b345567c1c6b51f8aab83b034fff922 /fs/ocfs2/cluster/heartbeat.c
parent[PATCH] BUG_ON() Conversion in fs/ocfs2/ (diff)
downloadkernel-qcow2-linux-215c7f9fa11d3fc6ccd2df242d259c721ec7ae6a.tar.gz
kernel-qcow2-linux-215c7f9fa11d3fc6ccd2df242d259c721ec7ae6a.tar.xz
kernel-qcow2-linux-215c7f9fa11d3fc6ccd2df242d259c721ec7ae6a.zip
[PATCH] ocfs2: fix compile warnings
Fix a couple of compile warnings found when compiling on a ppc64 build box. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster/heartbeat.c')
-rw-r--r--fs/ocfs2/cluster/heartbeat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c
index 7307ba528913..d08971d29b63 100644
--- a/fs/ocfs2/cluster/heartbeat.c
+++ b/fs/ocfs2/cluster/heartbeat.c
@@ -917,8 +917,9 @@ static int o2hb_thread(void *data)
elapsed_msec = o2hb_elapsed_msecs(&before_hb, &after_hb);
mlog(0, "start = %lu.%lu, end = %lu.%lu, msec = %u\n",
- before_hb.tv_sec, before_hb.tv_usec,
- after_hb.tv_sec, after_hb.tv_usec, elapsed_msec);
+ before_hb.tv_sec, (unsigned long) before_hb.tv_usec,
+ after_hb.tv_sec, (unsigned long) after_hb.tv_usec,
+ elapsed_msec);
if (elapsed_msec < reg->hr_timeout_ms) {
/* the kthread api has blocked signals for us so no