Merge "Update for long long -> off64_t for fstab.length"
am: 1f66578d6f
Change-Id: I0f9f5ba577a129b9c31f9cb409d95282638227db
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@@ -66,7 +67,7 @@ void load_volume_table() {
|
|||||||
printf("=========================\n");
|
printf("=========================\n");
|
||||||
for (int i = 0; i < fstab->num_entries; ++i) {
|
for (int i = 0; i < fstab->num_entries; ++i) {
|
||||||
const Volume* v = &fstab->recs[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");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user