[PATCH] ocfs2/cluster/netdebug.c: fix warning

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <mfasheh@...>, <joel.becker@...>, <ocfs2-devel@...>, <linux-kernel@...>
Date: Tuesday, August 5, 2008 - 4:10 pm

From: Alexander Beregalov <a.beregalov@gmail.com>

ocfs2/cluster/netdebug.c: fix warning

fs/ocfs2/cluster/netdebug.c:154: warning: format '%lu' expects
	type 'long unsigned int', but argument 17 has type 'suseconds_t'


Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---

 fs/ocfs2/cluster/netdebug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/ocfs2/cluster/netdebug.c b/fs/ocfs2/cluster/netdebug.c
index d8bfa0e..cdc0ed2 100644
--- a/fs/ocfs2/cluster/netdebug.c
+++ b/fs/ocfs2/cluster/netdebug.c
@@ -151,7 +151,7 @@ static int nst_seq_show(struct seq_file *seq, void *v)
 			   nst->st_send_time.tv_sec,
 			   (unsigned long)nst->st_send_time.tv_usec,
 			   nst->st_status_time.tv_sec,
-			   nst->st_status_time.tv_usec);
+			   (unsigned long)nst->st_status_time.tv_usec);
 	}
 
 	spin_unlock(&o2net_debug_lock);
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] ocfs2/cluster/netdebug.c: fix warning, Alexander Beregalov, (Tue Aug 5, 4:10 pm)
Re: [PATCH] ocfs2/cluster/netdebug.c: fix warning, Joel Becker, (Tue Aug 5, 4:29 pm)
Re: [PATCH] ocfs2/cluster/netdebug.c: fix warning, Alexander Beregalov, (Tue Aug 5, 4:50 pm)
Re: [PATCH] ocfs2/cluster/netdebug.c: fix warning, Mark Fasheh, (Wed Aug 6, 5:24 pm)
Re: [PATCH] ocfs2/cluster/netdebug.c: fix warning, Joel Becker, (Tue Aug 5, 7:22 pm)