summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-09-04 17:10:32 +0200
committerDoug Zongker <dougz@google.com>2014-09-04 17:10:32 +0200
commitf7bb09dae8d7c89130648ef2aca7025860b6d801 (patch)
tree52587b4074dfac481e082fd3a989b8b6c9f45116
parentremove code for original block OTA mechanism (diff)
downloadandroid_bootable_recovery-f7bb09dae8d7c89130648ef2aca7025860b6d801.tar
android_bootable_recovery-f7bb09dae8d7c89130648ef2aca7025860b6d801.tar.gz
android_bootable_recovery-f7bb09dae8d7c89130648ef2aca7025860b6d801.tar.bz2
android_bootable_recovery-f7bb09dae8d7c89130648ef2aca7025860b6d801.tar.lz
android_bootable_recovery-f7bb09dae8d7c89130648ef2aca7025860b6d801.tar.xz
android_bootable_recovery-f7bb09dae8d7c89130648ef2aca7025860b6d801.tar.zst
android_bootable_recovery-f7bb09dae8d7c89130648ef2aca7025860b6d801.zip
-rw-r--r--updater/blockimg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/updater/blockimg.c b/updater/blockimg.c
index 6d412d5d5..555230dd3 100644
--- a/updater/blockimg.c
+++ b/updater/blockimg.c
@@ -37,9 +37,9 @@
#define BLOCKSIZE 4096
-// Set this to 1 to interpret 'erase' transfers to mean do a
-// BLKDISCARD ioctl. Set to 0 to interpret erase to mean fill the
-// region with zeroes.
+// Set this to 0 to interpret 'erase' transfers to mean do a
+// BLKDISCARD ioctl (the normal behavior). Set to 1 to interpret
+// erase to mean fill the region with zeroes.
#define DEBUG_ERASE 0
#ifndef BLKDISCARD