diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 19:02:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-03 19:02:20 +0000 |
commit | cf94446af7a75385955e0c4de2d5898b219f5719 (patch) | |
tree | dfbdb723c30ce9d1a345b20392cebb63fb7ca0d9 /libbb | |
parent | 6edaddec0238c6b7558c47fe24e33fae703385b5 (diff) |
random style fixes
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/bb_pwd.c | 2 | ||||
-rw-r--r-- | libbb/parse_number.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libbb/bb_pwd.c b/libbb/bb_pwd.c index de1d66303..e4d327340 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 3b9134a74..c7dafb7f0 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); } |