aboutsummaryrefslogtreecommitdiffstats
path: root/updater/blockimg.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-09-04 08:10:32 -0700
committerDoug Zongker <dougz@google.com>2014-09-04 08:10:32 -0700
commitf7bb09dae8d7c89130648ef2aca7025860b6d801 (patch)
tree52587b4074dfac481e082fd3a989b8b6c9f45116 /updater/blockimg.c
parent5f875bf57739bf0b5c2d182173513233bdb71ab8 (diff)
downloadbootable_recovery-f7bb09dae8d7c89130648ef2aca7025860b6d801.zip
bootable_recovery-f7bb09dae8d7c89130648ef2aca7025860b6d801.tar.gz
bootable_recovery-f7bb09dae8d7c89130648ef2aca7025860b6d801.tar.bz2
fix comment in blockimg updater code
The comment for the DEBUG_ERASE setting is exactly backwards. Change-Id: I98ab5828365894217fc78976817a131e7d22d5c1
Diffstat (limited to 'updater/blockimg.c')
-rw-r--r--updater/blockimg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/updater/blockimg.c b/updater/blockimg.c
index 6d412d5..555230d 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