summaryrefslogtreecommitdiff
path: root/coreutils/chgrp.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2005-09-20 21:06:17 +0000
committerBernhard Reutner-Fischer2005-09-20 21:06:17 +0000
commitd5bd137a247145afabfbc3a3c376ad8787381d8f (patch)
treee55887632741516332495c4fe7cf4169e71984c3 /coreutils/chgrp.c
parentf912ebb7405bcb6cbcdf952bdf2fc2310d93cb3a (diff)
downloadbusybox-d5bd137a247145afabfbc3a3c376ad8787381d8f.zip
busybox-d5bd137a247145afabfbc3a3c376ad8787381d8f.tar.gz
- 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 'coreutils/chgrp.c')
-rw-r--r--coreutils/chgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index 8cfb542..70ac672 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -58,7 +58,7 @@ int chgrp_main(int argc, char **argv)
argv += optind;
/* Find the selected group */
- gid = get_ug_id(*argv, my_getgrnam);
+ gid = get_ug_id(*argv, bb_xgetgrnam);
++argv;
/* Ok, ready to do the deed now */