diff options
author | Tom Cherry <tomcherry@google.com> | 2018-11-30 17:33:54 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-11-30 17:33:54 +0100 |
commit | 1f66578d6fac54a6d53ec6528529d9084f6a8ba6 (patch) | |
tree | 8957138c72e16543eb37fb65a635298c1c6efd91 | |
parent | Merge "ImageGenerator: Handle special characters in xml files" (diff) | |
parent | Update for long long -> off64_t for fstab.length (diff) | |
download | android_bootable_recovery-1f66578d6fac54a6d53ec6528529d9084f6a8ba6.tar android_bootable_recovery-1f66578d6fac54a6d53ec6528529d9084f6a8ba6.tar.gz android_bootable_recovery-1f66578d6fac54a6d53ec6528529d9084f6a8ba6.tar.bz2 android_bootable_recovery-1f66578d6fac54a6d53ec6528529d9084f6a8ba6.tar.lz android_bootable_recovery-1f66578d6fac54a6d53ec6528529d9084f6a8ba6.tar.xz android_bootable_recovery-1f66578d6fac54a6d53ec6528529d9084f6a8ba6.tar.zst android_bootable_recovery-1f66578d6fac54a6d53ec6528529d9084f6a8ba6.zip |
-rw-r--r-- | roots.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 @@ void load_volume_table() { 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"); } |