[PATCH 1/2] libscan: fix a comment typo in libscan.h

Rock Lee rockdotlee at gmail.com
Thu Nov 16 01:00:23 PST 2017


Signed-off-by: Rock Lee <rockdotlee at gmail.com>
---
 include/libscan.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/libscan.h b/include/libscan.h
index a2b8657..8401601 100644
--- a/include/libscan.h
+++ b/include/libscan.h
@@ -68,7 +68,7 @@ enum
  * @corrupted_cnt: count of eraseblocks with corrupted erase counter header
  * @alien_cnt: count of eraseblock containing non-ubi data
  * @bad_cnt: count of bad eraseblocks
- * @bad_cnt: count of non-bad eraseblocks
+ * @good_cnt: count of non-bad eraseblocks
  * @vid_hdr_offs: volume ID header offset from the found EC headers (%-1 means
  *                undefined)
  * @data_offs: data offset from the found EC headers (%-1 means undefined)
-- 
1.9.1



More information about the linux-mtd mailing list