diff options
author | Tom Cherry <tomcherry@google.com> | 2018-11-30 18:01:41 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-11-30 18:01:41 +0100 |
commit | 80dbb1d97975def7bf517cacc8db855ad5163dbf (patch) | |
tree | 6a5d86267ef65dff202b0339c0d17b0c7713e8cb | |
parent | Merge "ImageGenerator: Handle special characters in xml files" am: 697003dbce (diff) | |
parent | Merge "Update for long long -> off64_t for fstab.length" (diff) | |
download | android_bootable_recovery-80dbb1d97975def7bf517cacc8db855ad5163dbf.tar android_bootable_recovery-80dbb1d97975def7bf517cacc8db855ad5163dbf.tar.gz android_bootable_recovery-80dbb1d97975def7bf517cacc8db855ad5163dbf.tar.bz2 android_bootable_recovery-80dbb1d97975def7bf517cacc8db855ad5163dbf.tar.lz android_bootable_recovery-80dbb1d97975def7bf517cacc8db855ad5163dbf.tar.xz android_bootable_recovery-80dbb1d97975def7bf517cacc8db855ad5163dbf.tar.zst android_bootable_recovery-80dbb1d97975def7bf517cacc8db855ad5163dbf.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"); } |