summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-03 19:02:20 +0000
committerDenis Vlasenko2006-10-03 19:02:20 +0000
commitcf94446af7a75385955e0c4de2d5898b219f5719 (patch)
treedfbdb723c30ce9d1a345b20392cebb63fb7ca0d9 /libbb
parent6edaddec0238c6b7558c47fe24e33fae703385b5 (diff)
downloadbusybox-cf94446af7a75385955e0c4de2d5898b219f5719.zip
busybox-cf94446af7a75385955e0c4de2d5898b219f5719.tar.gz
random style fixes
Diffstat (limited to 'libbb')
-rw-r--r--libbb/bb_pwd.c2
-rw-r--r--libbb/parse_number.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libbb/bb_pwd.c b/libbb/bb_pwd.c
index de1d663..e4d3273 100644
--- a/libbb/bb_pwd.c
+++ b/libbb/bb_pwd.c
@@ -34,7 +34,7 @@ char * bb_getgrgid(char *group, long gid, int bufsize)
{
struct group *mygroup = getgrgid(gid);
- return bb_getug(group, (mygroup) ?
+ return bb_getug(group, (mygroup) ?
mygroup->gr_name : (char *)mygroup, gid, bufsize, 'g');
}
#endif /* L_bb_getgrgid */
diff --git a/libbb/parse_number.c b/libbb/parse_number.c
index 3b9134a..c7dafb7 100644
--- a/libbb/parse_number.c
+++ b/libbb/parse_number.c
@@ -15,7 +15,7 @@
#include "libbb.h"
unsigned long bb_xparse_number(const char *numstr,
- const struct suffix_mult *suffixes)
+ const struct suffix_mult *suffixes)
{
unsigned long int r;
char *e;
@@ -46,5 +46,5 @@ unsigned long bb_xparse_number(const char *numstr,
} while (suffixes->suffix);
}
}
- bb_error_msg_and_die("invalid number `%s'", numstr);
+ bb_error_msg_and_die("invalid number '%s'", numstr);
}