Whamcloud - gitweb
- another merge of b_devel into b_ad
authorbraam <braam>
Wed, 9 Jul 2003 18:39:59 +0000 (18:39 +0000)
committerbraam <braam>
Wed, 9 Jul 2003 18:39:59 +0000 (18:39 +0000)
lustre/ptlrpc/recov_thread.c

index 7d05c60..9c65fc3 100644 (file)
@@ -270,8 +270,9 @@ static int log_commit_thread(void *arg)
                         } else {
                                 spin_unlock(&lcm->lcm_llcd_lock);
                                 CERROR("commit %p dropped %d cookies: rc %d\n",
-                                       llcd, llcd->llcd_cookiebytes /
-                                       sizeof(*llcd->llcd_cookies), rc);
+                                       llcd, (int)(llcd->llcd_cookiebytes /
+                                                   sizeof(*llcd->llcd_cookies)),
+                                       rc);
                                 llcd_put(llcd);
                         }
                         break;