Merge "Update for long long -> off64_t for fstab.length" am: 1f66578d6f am: 21197a7f2b
am: 80dbb1d979
Change-Id: Ibcd8149344937845e3a43a301f72fc44643910a6
diff --git a/roots.cpp b/roots.cpp
index 4fcd6fe..8772c57 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -18,6 +18,7 @@
#include <ctype.h>
#include <fcntl.h>
+#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
@@ -66,7 +67,7 @@
printf("=========================\n");
for (int i = 0; i < fstab->num_entries; ++i) {
const Volume* v = &fstab->recs[i];
- printf(" %d %s %s %s %lld\n", i, v->mount_point, v->fs_type, v->blk_device, v->length);
+ printf(" %d %s %s %s %" PRId64 "\n", i, v->mount_point, v->fs_type, v->blk_device, v->length);
}
printf("\n");
}