From f7bb09dae8d7c89130648ef2aca7025860b6d801 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Thu, 4 Sep 2014 08:10:32 -0700 Subject: fix comment in blockimg updater code The comment for the DEBUG_ERASE setting is exactly backwards. Change-Id: I98ab5828365894217fc78976817a131e7d22d5c1 --- updater/blockimg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'updater/blockimg.c') 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 -- cgit v1.1