summaryrefslogtreecommitdiff
path: root/ubi-utils/src/ubirmvol.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/src/ubirmvol.c')
-rw-r--r--ubi-utils/src/ubirmvol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/ubirmvol.c b/ubi-utils/src/ubirmvol.c
index a4cf1df..edb1b79 100644
--- a/ubi-utils/src/ubirmvol.c
+++ b/ubi-utils/src/ubirmvol.c
@@ -184,7 +184,7 @@ int main(int argc, char * const argv[])
if (libubi == NULL)
return sys_errmsg("cannot open libubi");
- err = ubi_node_type(libubi, args.node);
+ err = ubi_probe_node(libubi, args.node);
if (err == 2) {
errmsg("\"%s\" is an UBI volume node, not an UBI device node",
args.node);