projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bfcb4d
)
chpasswd: rename long options definition to match other applets. no code changes
author
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 23 Jul 2007 18:49:16 +0000
(18:49 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 23 Jul 2007 18:49:16 +0000
(18:49 -0000)
loginutils/chpasswd.c
patch
|
blob
|
history
diff --git
a/loginutils/chpasswd.c
b/loginutils/chpasswd.c
index a4a9a554f11d76f2d34cb54bca14da00d07fd7e5..3e3e8d3d32727c144510cf04ffeefe4f4c71262d 100644
(file)
--- a/
loginutils/chpasswd.c
+++ b/
loginutils/chpasswd.c
@@
-11,7
+11,7
@@
#if ENABLE_GETOPT_LONG
#include <getopt.h>
-static const char chpasswd_opts[] =
+static const char chpasswd_
long
opts[] =
"encrypted\0" No_argument "e"
"md5\0" No_argument "m"
"\0";
@@
-32,7
+32,7
@@
int chpasswd_main(int argc, char **argv)
bb_error_msg_and_die(bb_msg_perm_denied_are_you_root);
opt_complementary = "m--e:e--m";
- USE_GETOPT_LONG(applet_long_options = chpasswd_opts;)
+ USE_GETOPT_LONG(applet_long_options = chpasswd_
long
opts;)
opt = getopt32(argc, argv, "em");
while ((name = xmalloc_getline(stdin)) != NULL) {