summaryrefslogtreecommitdiffstats
path: root/updater/blockimg.c
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-06-25 23:00:31 +0200
committerTao Bao <tbao@google.com>2015-06-26 22:48:46 +0200
commitc3dddce205ef44933813394013ee5ef89b63653b (patch)
tree99f87bd70429254e1b49a39c80055764198e5b5c /updater/blockimg.c
parentUse f_bavail to calculate free space (diff)
downloadandroid_bootable_recovery-c3dddce205ef44933813394013ee5ef89b63653b.tar
android_bootable_recovery-c3dddce205ef44933813394013ee5ef89b63653b.tar.gz
android_bootable_recovery-c3dddce205ef44933813394013ee5ef89b63653b.tar.bz2
android_bootable_recovery-c3dddce205ef44933813394013ee5ef89b63653b.tar.lz
android_bootable_recovery-c3dddce205ef44933813394013ee5ef89b63653b.tar.xz
android_bootable_recovery-c3dddce205ef44933813394013ee5ef89b63653b.tar.zst
android_bootable_recovery-c3dddce205ef44933813394013ee5ef89b63653b.zip
Diffstat (limited to '')
-rw-r--r--updater/blockimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.c b/updater/blockimg.c
index e18480062..1e95f4e7c 100644
--- a/updater/blockimg.c
+++ b/updater/blockimg.c
@@ -101,7 +101,7 @@ static int range_overlaps(RangeSet* r1, RangeSet* r2) {
r2_0 = r2->pos[j * 2];
r2_1 = r2->pos[j * 2 + 1];
- if (!(r2_0 > r1_1 || r1_0 > r2_1)) {
+ if (!(r2_0 >= r1_1 || r1_0 >= r2_1)) {
return 1;
}
}