aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-04-03 22:24:51 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-04-03 22:24:51 +0200
commit6aab9928dec29855bcee21bce163e5fdf7144350 (patch)
tree39cfa4f508f208ae093fefcd8b865a0cb36547e2 /libbb
parentb068cf2a7e036da8d0b3533b41886c5605c8139d (diff)
downloadbusybox-w32-6aab9928dec29855bcee21bce163e5fdf7144350.tar.gz
busybox-w32-6aab9928dec29855bcee21bce163e5fdf7144350.tar.bz2
busybox-w32-6aab9928dec29855bcee21bce163e5fdf7144350.zip
whitespace and namespace cleanups
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/ubi.c8
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
17unsigned FAST_FUNC ubi_devnum_from_devname(const char *str) 17unsigned 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
26int FAST_FUNC get_volid_by_name(unsigned ubi_devnum, const char *vol_name) 26int FAST_FUNC ubi_get_volid_by_name(unsigned ubi_devnum, const char *vol_name)
27{ 27{
28 unsigned i; 28 unsigned i;
29 29