diff options
author | Narayan Kamath <narayan@google.com> | 2015-02-24 12:56:13 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-02-24 12:56:15 +0000 |
commit | 9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31 (patch) | |
tree | 52e5768624ece17d9539c57169fc1a0124f08ae3 | |
parent | 2d1022250941873f8748e6a159d4e5bf976e511f (diff) | |
parent | d84b055972ba910efdedad0c31a408bb115582f9 (diff) | |
download | bootable_recovery-9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31.zip bootable_recovery-9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31.tar.gz bootable_recovery-9e95c515dc2e7afa91d4a4c5163ffd5b6eae3b31.tar.bz2 |
Merge "Fix a printf format warning."
-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 c3319c9..42c12fd 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); } |