[PATCH] mmc-util: Fix typo in comment in do_enh_area_set()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ERASE_GROUP_DEF bit is set to 1, so make the comment consistent with the code

Signed-off-by: Jongman Heo <jongman.heo@xxxxxxxxxxx>
---
 mmc_cmds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mmc_cmds.c b/mmc_cmds.c
index b8afa74..4d10f35 100644
--- a/mmc_cmds.c
+++ b/mmc_cmds.c
@@ -548,7 +548,7 @@ int do_enh_area_set(int nargs, char **argv)
 	enh_start_addr /= align;
 	enh_start_addr *= align;
 
-	/* set EXT_CSD_ERASE_GROUP_DEF bit 0 */
+	/* set EXT_CSD_ERASE_GROUP_DEF bit 1 */
 	ret = write_extcsd_value(fd, EXT_CSD_ERASE_GROUP_DEF, 0x1);
 	if (ret) {
 		fprintf(stderr, "Could not write 0x1 to "
-- 
1.8.3.1ÿ淸º{.nÇ+돴윯돪†+%듚ÿ깁負¥Šwÿº{.nÇ+돴¥Š{깸i쒩)í끾èw*jgП¨¶‰šŽ듶¢jÿ¾?G«앶ÿ◀◁¦j:+v돣ŠwèjØm¶Ÿÿ?®w?듺þf"·hš뤴얎ÿ녪¥





[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux