diff options
Diffstat (limited to 'libbb/my_getpwnamegid.c')
-rw-r--r-- | libbb/my_getpwnamegid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/my_getpwnamegid.c b/libbb/my_getpwnamegid.c index 07e02c1..06071c9 100644 --- a/libbb/my_getpwnamegid.c +++ b/libbb/my_getpwnamegid.c @@ -35,11 +35,11 @@ long my_getpwnamegid(const char *name) myuser=getpwnam(name); if (myuser==NULL) - error_msg_and_die("unknown user name: %s", name); + bb_error_msg_and_die("unknown user name: %s", name); mygroup = getgrgid(myuser->pw_gid); if (mygroup==NULL) - error_msg_and_die("unknown gid %ld", (long)myuser->pw_gid); + bb_error_msg_and_die("unknown gid %ld", (long)myuser->pw_gid); return mygroup->gr_gid; } |