summaryrefslogtreecommitdiff
path: root/lib/libmtd.c
diff options
context:
space:
mode:
authorRock Lee <rockdotlee@gmail.com>2017-11-13 15:05:34 +0800
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-11-15 00:14:02 +0100
commit7086393891df77b31d346b051fa1ecfa0aa4d66a (patch)
tree5086eee9690eb8abb5ae73932c6b3f40e992dd54 /lib/libmtd.c
parent3c54e4e46c2248ed9143c2f07670307185719331 (diff)
libmtd: fix a comment typo in dev_node2num
Signed-off-by: Rock Lee <rockdotlee@gmail.com> Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/libmtd.c')
-rw-r--r--lib/libmtd.c2
1 files changed, 1 insertions, 1 deletions
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