diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-28 05:44:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-28 05:44:47 +0000 |
commit | 9a44c4f91ce7e517d5325fd3743e6ad9d54ef3f0 (patch) | |
tree | 34292ef12cab59b118e91a6c58844ae25f1bee94 /e2fsprogs | |
parent | ba092336f00644c1233735bae4b81382309955d8 (diff) | |
download | busybox-w32-9a44c4f91ce7e517d5325fd3743e6ad9d54ef3f0.tar.gz busybox-w32-9a44c4f91ce7e517d5325fd3743e6ad9d54ef3f0.tar.bz2 busybox-w32-9a44c4f91ce7e517d5325fd3743e6ad9d54ef3f0.zip |
bb_xget[pw/gr]nam were horribly misnamed - fixed.
uidgid_get -> get_uidgid, add additional param
(numeric_ok). Make chown use it.
chown: fix "chown user: ...."
install: fix incorrect use of bb_xget[pw/gr]nam
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/tune2fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/old_e2fsprogs/tune2fs.c b/e2fsprogs/old_e2fsprogs/tune2fs.c index a2ca1ba09..c4e084ecd 100644 --- a/e2fsprogs/old_e2fsprogs/tune2fs.c +++ b/e2fsprogs/old_e2fsprogs/tune2fs.c | |||
@@ -441,7 +441,7 @@ static void parse_tune2fs_options(int argc, char **argv) | |||
441 | case 'g': | 441 | case 'g': |
442 | resgid = bb_strtoul(optarg, NULL, 10); | 442 | resgid = bb_strtoul(optarg, NULL, 10); |
443 | if (errno) | 443 | if (errno) |
444 | resgid = bb_xgetgrnam(optarg); | 444 | resgid = xgroup2gid(optarg); |
445 | g_flag = 1; | 445 | g_flag = 1; |
446 | open_flag = EXT2_FLAG_RW; | 446 | open_flag = EXT2_FLAG_RW; |
447 | break; | 447 | break; |
@@ -535,7 +535,7 @@ static void parse_tune2fs_options(int argc, char **argv) | |||
535 | case 'u': | 535 | case 'u': |
536 | resuid = bb_strtoul(optarg, NULL, 10); | 536 | resuid = bb_strtoul(optarg, NULL, 10); |
537 | if (errno) | 537 | if (errno) |
538 | resuid = bb_xgetpwnam(optarg); | 538 | resuid = xuname2uid(optarg); |
539 | u_flag = 1; | 539 | u_flag = 1; |
540 | open_flag = EXT2_FLAG_RW; | 540 | open_flag = EXT2_FLAG_RW; |
541 | break; | 541 | break; |