diff options
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); } |