Whamcloud - gitweb
LU-11971 utils: Send file creation time to clients
[fs/lustre-release.git] / lustre / utils / ll_decode_filter_fid.c
index cc648ff..c1c2b38 100644 (file)
@@ -121,7 +121,8 @@ int main(int argc, char *argv[])
 
                                printf("%s: parent="DFID" stripe=%u "
                                       "stripe_size=%u stripe_count=%u",
-                                      argv[i], loa->loa_parent_fid.f_seq,
+                                      argv[i],
+                                      (unsigned long long)loa->loa_parent_fid.f_seq,
                                       loa->loa_parent_fid.f_oid, 0, /* ver */
                                       loa->loa_parent_fid.f_stripe_idx &
                                                        PFID_STRIPE_COUNT_MASK,
@@ -133,8 +134,8 @@ int main(int argc, char *argv[])
                                               "component_start=%llu "
                                               "component_end=%llu",
                                               loa->loa_comp_id,
-                                              loa->loa_comp_start,
-                                              loa->loa_comp_end);
+                                              (unsigned long long)loa->loa_comp_start,
+                                              (unsigned long long)loa->loa_comp_end);
                                printf("\n");
                                continue;
                        }
@@ -186,7 +187,9 @@ int main(int argc, char *argv[])
                                       "component_start=%llu "
                                       "component_end=%llu",
                                       __le32_to_cpu(ol->ol_comp_id),
+                                      (unsigned long long)
                                       __le64_to_cpu(ol->ol_comp_start),
+                                      (unsigned long long)
                                       __le64_to_cpu(ol->ol_comp_end));
                }
                if (size >= sizeof(struct filter_fid))