summaryrefslogtreecommitdiff
path: root/ubi-utils/src/ubirename.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-04-20 16:23:22 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2009-04-20 16:24:36 +0300
commitb03c80c7d84e14ab1a28311db4bc7eb08948c569 (patch)
treedbb7788255c1686bb10c92a9c0bc050540ad8530 /ubi-utils/src/ubirename.c
parent0c2ff6f5a5d6cd1449c4f77240fc9e27e4782307 (diff)
ubi-utils: rename ubi_node_type
Re-name the 'ubi_node_type()' function to a more meaningful name: 'ubi_probe_node()'. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/ubirename.c')
-rw-r--r--ubi-utils/src/ubirename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/ubirename.c b/ubi-utils/src/ubirename.c
index 8f33718..14331b6 100644
--- a/ubi-utils/src/ubirename.c
+++ b/ubi-utils/src/ubirename.c
@@ -96,7 +96,7 @@ int main(int argc, char * const argv[])
if (!libubi)
return sys_errmsg("cannot open libubi");
- err = ubi_node_type(libubi, node);
+ err = ubi_probe_node(libubi, node);
if (err == 2) {
errmsg("\"%s\" is an UBI volume node, not an UBI device node",
node);