diff options
author | Narayan Kamath <narayan@google.com> | 2015-02-23 14:38:08 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-02-23 14:39:41 +0100 |
commit | d84b055972ba910efdedad0c31a408bb115582f9 (patch) | |
tree | 52e5768624ece17d9539c57169fc1a0124f08ae3 /updater/blockimg.c | |
parent | Merge "Kill of most of the remainder of minadbd." (diff) | |
download | android_bootable_recovery-d84b055972ba910efdedad0c31a408bb115582f9.tar android_bootable_recovery-d84b055972ba910efdedad0c31a408bb115582f9.tar.gz android_bootable_recovery-d84b055972ba910efdedad0c31a408bb115582f9.tar.bz2 android_bootable_recovery-d84b055972ba910efdedad0c31a408bb115582f9.tar.lz android_bootable_recovery-d84b055972ba910efdedad0c31a408bb115582f9.tar.xz android_bootable_recovery-d84b055972ba910efdedad0c31a408bb115582f9.tar.zst android_bootable_recovery-d84b055972ba910efdedad0c31a408bb115582f9.zip |
Diffstat (limited to 'updater/blockimg.c')
-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); } |