summaryrefslogtreecommitdiff
path: root/ext4_utils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-08-03 10:54:29 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-08-03 10:54:29 -0700
commitd89ea0f6e6fba226057a2bd8d077395d85730b81 (patch)
tree7eb5808d4910d1a9be297a767a916187377c9e2b /ext4_utils
parent960189210d5c6ffd1448acf598604a3295ff4f61 (diff)
parent3dafe0b6356473819ea2b6fca022fc9459eb94cd (diff)
downloadextras-d89ea0f6e6fba226057a2bd8d077395d85730b81.tar.gz
Merge "fgetc(3) returns int."
am: 3dafe0b635 Change-Id: I68145812813f157121f6f9ca17a14edba0d4fafe
Diffstat (limited to 'ext4_utils')
-rw-r--r--ext4_utils/blk_alloc_to_base_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext4_utils/blk_alloc_to_base_fs.c b/ext4_utils/blk_alloc_to_base_fs.c
index 877daea7..664648d1 100644
--- a/ext4_utils/blk_alloc_to_base_fs.c
+++ b/ext4_utils/blk_alloc_to_base_fs.c
@@ -55,7 +55,7 @@ int main(int argc, char **argv)
exit(EXIT_FAILURE);
}
if (fscanf(blk_alloc_file, "Base EXT4 version %" ___STRING(MAX_FILE_VERSION) "s", file_version) > 0) {
- char c;
+ int c;
printf("%s is already in *.base_fs format, just copying into %s...\n", argv[1], argv[2]);
rewind(blk_alloc_file);
while ((c = fgetc(blk_alloc_file)) != EOF) {