passwd + /etc/shadow: chage "change time" field too
[oweals/busybox.git] / loginutils / cryptpw.c
index 4eec02b7831a783b973adfd659afdb2854bf4808..b44993f06ee9396a535a0a2c51ebb9afd0dd5111 100644 (file)
@@ -6,6 +6,8 @@
  *
  * 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"
@@ -58,7 +60,7 @@ int cryptpw_main(int argc UNUSED_PARAM, char **argv)
        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"