summaryrefslogtreecommitdiff
path: root/ubi-utils/src/ubirename.c
diff options
context:
space:
mode:
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);