svn commit: trunk/busybox/loginutils

vda at busybox.net vda at busybox.net
Mon Jul 23 18:49:19 UTC 2007


Author: vda
Date: 2007-07-23 11:49:16 -0700 (Mon, 23 Jul 2007)
New Revision: 19237

Log:
chpasswd: rename long options definition to match other applets. no code changes



Modified:
   trunk/busybox/loginutils/chpasswd.c


Changeset:
Modified: trunk/busybox/loginutils/chpasswd.c
===================================================================
--- trunk/busybox/loginutils/chpasswd.c	2007-07-23 17:40:35 UTC (rev 19236)
+++ trunk/busybox/loginutils/chpasswd.c	2007-07-23 18:49:16 UTC (rev 19237)
@@ -11,7 +11,7 @@
 #if ENABLE_GETOPT_LONG
 #include <getopt.h>
 
-static const char chpasswd_opts[] =
+static const char chpasswd_longopts[] =
 	"encrypted\0" No_argument "e"
 	"md5\0"       No_argument "m"
 	"\0";
@@ -32,7 +32,7 @@
 		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_longopts;)
 	opt = getopt32(argc, argv, "em");
 
 	while ((name = xmalloc_getline(stdin)) != NULL) {




More information about the busybox-cvs mailing list