diff options
Diffstat (limited to 'loginutils/chpasswd.c')
-rw-r--r-- | loginutils/chpasswd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/loginutils/chpasswd.c b/loginutils/chpasswd.c index e390da6..3c9ed68 100644 --- a/loginutils/chpasswd.c +++ b/loginutils/chpasswd.c @@ -62,8 +62,7 @@ int chpasswd_main(int argc UNUSED_PARAM, char **argv) bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); opt_complementary = "m--ec:e--mc:c--em"; - IF_LONG_OPTS(applet_long_options = chpasswd_longopts;) - opt = getopt32(argv, "emc:", &algo); + opt = getopt32long(argv, "emc:", chpasswd_longopts, &algo); while ((name = xmalloc_fgetline(stdin)) != NULL) { char *free_me; |