summaryrefslogtreecommitdiffstats
path: root/updater/blockimg.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-09-04 17:49:21 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-04 17:49:21 +0200
commit795f9bca63cee1b0f93498ba33b00df97b4ad22a (patch)
tree0e72db7c03a9752046baa2cb53e4f757a2eab258 /updater/blockimg.c
parentam 8328922f: use lseek64 instead of lseek (diff)
parentMerge "fix comment in blockimg updater code" into lmp-dev (diff)
downloadandroid_bootable_recovery-795f9bca63cee1b0f93498ba33b00df97b4ad22a.tar
android_bootable_recovery-795f9bca63cee1b0f93498ba33b00df97b4ad22a.tar.gz
android_bootable_recovery-795f9bca63cee1b0f93498ba33b00df97b4ad22a.tar.bz2
android_bootable_recovery-795f9bca63cee1b0f93498ba33b00df97b4ad22a.tar.lz
android_bootable_recovery-795f9bca63cee1b0f93498ba33b00df97b4ad22a.tar.xz
android_bootable_recovery-795f9bca63cee1b0f93498ba33b00df97b4ad22a.tar.zst
android_bootable_recovery-795f9bca63cee1b0f93498ba33b00df97b4ad22a.zip
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 5c0c3a727..c3319c973 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