Whamcloud - gitweb
LU-5577 ptlrpc: fix comparison between signed and unsigned
[fs/lustre-release.git] / lustre / utils / req-layout.c
index ae2202a..4326efd 100644 (file)
@@ -44,7 +44,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 
-#include <liblustre.h>
+#include <libcfs/libcfs.h>
 #include <lustre/lustre_idl.h>
 
 #define __REQ_LAYOUT_USER__ (1)
@@ -133,7 +133,7 @@ void print_layout(const struct req_format *rf)
                 [RCL_SERVER] = "S"
         };
 
-        printf("L %s (%i/%i)\n", rf->rf_name,
+       printf("L %s (%zu/%zu)\n", rf->rf_name,
                rf->rf_fields[RCL_CLIENT].nr, rf->rf_fields[RCL_SERVER].nr);
 
         for (j = 0; j < RCL_NR; ++j) {