Whamcloud - gitweb
Branch HEAD
authoradilger <adilger>
Mon, 26 May 2008 19:46:10 +0000 (19:46 +0000)
committeradilger <adilger>
Mon, 26 May 2008 19:46:10 +0000 (19:46 +0000)
Fix compile warning for printf.

lustre/fid/fid_store.c

index b208e59..773a622 100644 (file)
@@ -133,10 +133,10 @@ int seq_store_read(struct lu_server_seq *seq,
                 rc = -ENODATA;
         } else if (rc >= 0) {
                 CERROR("%s: Read only %d bytes of %d\n", seq->lss_name,
-                       rc, sizeof(info->sti_space));
+                       rc, (int)sizeof(info->sti_space));
                 rc = -EIO;
         }
-       
+
        RETURN(rc);
 }