summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2014-09-04 17:26:29 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-04 17:26:29 +0200
commit40482ea2ae5ca8cbcf46125f601c0bc766f99943 (patch)
tree0e72db7c03a9752046baa2cb53e4f757a2eab258
parentuse lseek64 instead of lseek (diff)
parentfix comment in blockimg updater code (diff)
downloadandroid_bootable_recovery-40482ea2ae5ca8cbcf46125f601c0bc766f99943.tar
android_bootable_recovery-40482ea2ae5ca8cbcf46125f601c0bc766f99943.tar.gz
android_bootable_recovery-40482ea2ae5ca8cbcf46125f601c0bc766f99943.tar.bz2
android_bootable_recovery-40482ea2ae5ca8cbcf46125f601c0bc766f99943.tar.lz
android_bootable_recovery-40482ea2ae5ca8cbcf46125f601c0bc766f99943.tar.xz
android_bootable_recovery-40482ea2ae5ca8cbcf46125f601c0bc766f99943.tar.zst
android_bootable_recovery-40482ea2ae5ca8cbcf46125f601c0bc766f99943.zip
Diffstat (limited to '')
-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