diff options
Diffstat (limited to '')
-rw-r--r-- | loginutils/chpasswd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/chpasswd.c b/loginutils/chpasswd.c index a4a9a554f..3e3e8d3d3 100644 --- a/loginutils/chpasswd.c +++ b/loginutils/chpasswd.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #if ENABLE_GETOPT_LONG | 11 | #if ENABLE_GETOPT_LONG |
12 | #include <getopt.h> | 12 | #include <getopt.h> |
13 | 13 | ||
14 | static const char chpasswd_opts[] = | 14 | static const char chpasswd_longopts[] = |
15 | "encrypted\0" No_argument "e" | 15 | "encrypted\0" No_argument "e" |
16 | "md5\0" No_argument "m" | 16 | "md5\0" No_argument "m" |
17 | "\0"; | 17 | "\0"; |
@@ -32,7 +32,7 @@ int chpasswd_main(int argc, char **argv) | |||
32 | bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); | 32 | bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); |
33 | 33 | ||
34 | opt_complementary = "m--e:e--m"; | 34 | opt_complementary = "m--e:e--m"; |
35 | USE_GETOPT_LONG(applet_long_options = chpasswd_opts;) | 35 | USE_GETOPT_LONG(applet_long_options = chpasswd_longopts;) |
36 | opt = getopt32(argc, argv, "em"); | 36 | opt = getopt32(argc, argv, "em"); |
37 | 37 | ||
38 | while ((name = xmalloc_getline(stdin)) != NULL) { | 38 | while ((name = xmalloc_getline(stdin)) != NULL) { |