projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
passwd + /etc/shadow: chage "change time" field too
[oweals/busybox.git]
/
loginutils
/
cryptpw.c
diff --git
a/loginutils/cryptpw.c
b/loginutils/cryptpw.c
index 4eec02b7831a783b973adfd659afdb2854bf4808..b44993f06ee9396a535a0a2c51ebb9afd0dd5111 100644
(file)
--- a/
loginutils/cryptpw.c
+++ b/
loginutils/cryptpw.c
@@
-6,6
+6,8
@@
*
* Cooked from passwd.c by Thomas Lundquist <thomasez@zelow.no>
* mkpasswd compatible options added by Bernhard Reutner-Fischer
*
* Cooked from passwd.c by Thomas Lundquist <thomasez@zelow.no>
* mkpasswd compatible options added by Bernhard Reutner-Fischer
+ *
+ * Licensed under GPLv2, see file LICENSE in this tarball for details.
*/
#include "libbb.h"
*/
#include "libbb.h"
@@
-58,7
+60,7
@@
int cryptpw_main(int argc UNUSED_PARAM, char **argv)
int len;
int fd;
int len;
int fd;
-#if ENABLE_
GETOPT_LONG
+#if ENABLE_
LONG_OPTS
static const char mkpasswd_longopts[] ALIGN1 =
"stdin\0" No_argument "s"
"password-fd\0" Required_argument "P"
static const char mkpasswd_longopts[] ALIGN1 =
"stdin\0" No_argument "s"
"password-fd\0" Required_argument "P"