aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/include
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/include
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/include')
-rw-r--r--ubi-utils/include/libubi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/include/libubi.h b/ubi-utils/include/libubi.h
index 702e3e1..71a78a3 100644
--- a/ubi-utils/include/libubi.h
+++ b/ubi-utils/include/libubi.h
@@ -289,7 +289,7 @@ int ubi_rnvols(libubi_t desc, const char *node, struct ubi_rnvol_req *rnvol);
int ubi_rsvol(libubi_t desc, const char *node, int vol_id, long long bytes);
/**
- * ubi_node_type - test UBI node type.
+ * ubi_probe_node - test UBI node.
* @desc: UBI library descriptor
* @node: the node to test
*
@@ -298,7 +298,7 @@ int ubi_rsvol(libubi_t desc, const char *node, int vol_id, long long bytes);
* this is not an UBI node or if an error occurred (the latter is indicated by
* a non-zero errno).
*/
-int ubi_node_type(libubi_t desc, const char *node);
+int ubi_probe_node(libubi_t desc, const char *node);
/**
* ubi_get_dev_info - get UBI device information.