diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/ubi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/ubi.c b/libbb/ubi.c index 7d3b2952d..34595d797 100644 --- a/libbb/ubi.c +++ b/libbb/ubi.c | |||
@@ -16,14 +16,14 @@ | |||
16 | 16 | ||
17 | unsigned FAST_FUNC ubi_devnum_from_devname(const char *str) | 17 | unsigned FAST_FUNC ubi_devnum_from_devname(const char *str) |
18 | { | 18 | { |
19 | unsigned ubi_devnum; | 19 | unsigned ubi_devnum; |
20 | 20 | ||
21 | if (sscanf(str, "/dev/ubi%u", &ubi_devnum) != 1) | 21 | if (sscanf(str, "/dev/ubi%u", &ubi_devnum) != 1) |
22 | bb_error_msg_and_die("not an UBI device: '%s'", str); | 22 | bb_error_msg_and_die("not an UBI device: '%s'", str); |
23 | return ubi_devnum; | 23 | return ubi_devnum; |
24 | } | 24 | } |
25 | 25 | ||
26 | int FAST_FUNC get_volid_by_name(unsigned ubi_devnum, const char *vol_name) | 26 | int FAST_FUNC ubi_get_volid_by_name(unsigned ubi_devnum, const char *vol_name) |
27 | { | 27 | { |
28 | unsigned i; | 28 | unsigned i; |
29 | 29 | ||