summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-02-24 13:56:13 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-02-24 13:56:15 +0100
commit9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31 (patch)
tree52e5768624ece17d9539c57169fc1a0124f08ae3
parentMerge "Kill of most of the remainder of minadbd." (diff)
parentFix a printf format warning. (diff)
downloadandroid_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
-rw-r--r--updater/blockimg.c2
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);
}