ocfs2: fix compiler warnings in dlm_convert_lock_handler()
authorMark Fasheh <mark.fasheh@oracle.com>
Mon, 1 May 2006 21:56:57 +0000 (14:56 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 26 Jun 2006 21:43:20 +0000 (14:43 -0700)
We need to cast to unsigned long long.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmconvert.c

index b24fa53..c764dc8 100644 (file)
@@ -487,7 +487,8 @@ int dlm_convert_lock_handler(struct o2net_msg *msg, u32 len, void *data)
                                mlog(ML_ERROR, "There is something here "
                                     "for node %u, lock->ml.cookie=%llu, "
                                     "cnv->cookie=%llu\n", cnv->node_idx,
-                                    lock->ml.cookie, cnv->cookie);
+                                    (unsigned long long)lock->ml.cookie,
+                                    (unsigned long long)cnv->cookie);
                                break;
                        }
                }