diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-09-21 01:06:17 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2005-09-21 01:06:17 +0400 |
commit | d5bd137a247145afabfbc3a3c376ad8787381d8f (patch) | |
tree | e55887632741516332495c4fe7cf4169e71984c3 /miscutils/makedevs.c | |
parent | f912ebb7405bcb6cbcdf952bdf2fc2310d93cb3a (diff) |
- rename libbb's password helpers as suggested in libbb.h
my_getpwnam -> bb_xgetpwnam /* dies on error */
my_getgrnam -> bb_xgetgrnam /* dies on error */
my_getgrgid -> bb_getgrgid
my_getpwuid -> bb_getpwuid
my_getug -> bb_getug
Diffstat (limited to 'miscutils/makedevs.c')
-rw-r--r-- | miscutils/makedevs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index 8a407299a..e988400eb 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c @@ -160,12 +160,12 @@ extern int makedevs_main(int argc, char **argv) continue; } if (group) { - gid = get_ug_id(group, my_getgrnam); + gid = get_ug_id(group, bb_xgetgrnam); } else { gid = getgid(); } if (user) { - uid = get_ug_id(user, my_getpwnam); + uid = get_ug_id(user, bb_xgetpwnam); } else { uid = getuid(); } |