diff options
author | Jesse Zhao <jessezhao@google.com> | 2015-02-17 17:09:23 -0800 |
---|---|---|
committer | Jesse Zhao <jessezhao@google.com> | 2015-02-17 17:09:29 -0800 |
commit | 1df64d3278378d0d234be11cfeafec5e6a96bd2d (patch) | |
tree | c35087524af3772e850942d3335df1bb76bc4a43 /updater | |
parent | 2622ee3efb89c2bb67abf4d1199cd8f158bb1138 (diff) | |
download | bootable_recovery-1df64d3278378d0d234be11cfeafec5e6a96bd2d.zip bootable_recovery-1df64d3278378d0d234be11cfeafec5e6a96bd2d.tar.gz bootable_recovery-1df64d3278378d0d234be11cfeafec5e6a96bd2d.tar.bz2 |
Initialize stashbase even stash_max_blocks = 0
Change-Id: I480c02ffedd811f4dda9940ef979a05ff54f1435
Bug: 19410117
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 a0f81e9..9c39634 100644 --- a/updater/blockimg.c +++ b/updater/blockimg.c @@ -1643,7 +1643,7 @@ static Value* PerformBlockImageUpdate(const char* name, State* state, int argc, goto pbiudone; } - if (stash_max_blocks > 0) { + if (stash_max_blocks >= 0) { res = CreateStash(state, stash_max_blocks, blockdev_filename->data, ¶ms.stashbase); |