diff options
author | Narayan Kamath <narayan@google.com> | 2015-02-24 13:56:13 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-02-24 13:56:15 +0100 |
commit | 9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31 (patch) | |
tree | 52e5768624ece17d9539c57169fc1a0124f08ae3 /updater | |
parent | Merge "Kill of most of the remainder of minadbd." (diff) | |
parent | Fix a printf format warning. (diff) | |
download | android_bootable_recovery-9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31.tar android_bootable_recovery-9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31.tar.gz android_bootable_recovery-9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31.tar.bz2 android_bootable_recovery-9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31.tar.lz android_bootable_recovery-9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31.tar.xz android_bootable_recovery-9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31.tar.zst android_bootable_recovery-9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31.zip |
Diffstat (limited to 'updater')
-rw-r--r-- | updater/blockimg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.c b/updater/blockimg.c index c3319c973..42c12fd98 100644 --- a/updater/blockimg.c +++ b/updater/blockimg.c @@ -61,7 +61,7 @@ static RangeSet* parse_range(char* text) { RangeSet* out = malloc(sizeof(RangeSet) + num * sizeof(int)); if (out == NULL) { - fprintf(stderr, "failed to allocate range of %lu bytes\n", + fprintf(stderr, "failed to allocate range of %zu bytes\n", sizeof(RangeSet) + num * sizeof(int)); exit(1); } |