diff options
Diffstat (limited to 'loginutils/chpasswd.c')
-rw-r--r-- | loginutils/chpasswd.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/loginutils/chpasswd.c b/loginutils/chpasswd.c index f91ebdc68..a4a9a554f 100644 --- a/loginutils/chpasswd.c +++ b/loginutils/chpasswd.c | |||
@@ -11,11 +11,10 @@ | |||
11 | #if ENABLE_GETOPT_LONG | 11 | #if ENABLE_GETOPT_LONG |
12 | #include <getopt.h> | 12 | #include <getopt.h> |
13 | 13 | ||
14 | static const struct option chpasswd_opts[] = { | 14 | static const char chpasswd_opts[] = |
15 | { "encrypted", no_argument, NULL, 'e' }, | 15 | "encrypted\0" No_argument "e" |
16 | { "md5", no_argument, NULL, 'm' }, | 16 | "md5\0" No_argument "m" |
17 | { NULL, 0, NULL, 0 } | 17 | "\0"; |
18 | }; | ||
19 | #endif | 18 | #endif |
20 | 19 | ||
21 | #define OPT_ENC 1 | 20 | #define OPT_ENC 1 |