libmtd: fix a comment typo in dev_node2num

Message ID CAL-1w2tFYphS=sh=EccVr8buxb6FRRdYRZjEfL=YoRhffWZ2YQ@mail.gmail.com
State Accepted
Headers show
Series
  • libmtd: fix a comment typo in dev_node2num
Related show

Commit Message

Rock Lee Nov. 13, 2017, 7:05 a.m.
Signed-off-by: Rock Lee <rockdotlee@gmail.com>
---
 lib/libmtd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Oberhollenzer Nov. 14, 2017, 11:27 p.m. | #1
Applied to mtd-utils.git

Thanks,

David

Patch

diff --git a/lib/libmtd.c b/lib/libmtd.c
index 1ecb31b..86c89ae 100644
--- a/lib/libmtd.c
+++ b/lib/libmtd.c
@@ -422,7 +422,7 @@  static int type_str2int(const char *str)
 }

 /**
- * dev_node2num - find UBI device number by its character device node.
+ * dev_node2num - find MTD device number by its character device node.
  * @lib: MTD library descriptor
  * @node: name of the MTD device node
  * @mtd_num: MTD device number is returned here