aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-12-14 17:15:37 +0000
committerChristopher Faylor <me@cgf.cx>2001-12-14 17:15:37 +0000
commitbdc7392ce30a5b90ecf05b73c04cc34496482f8e (patch)
tree792213cf8706f3de10fb06e36ed54220d3abaf39
parentd315f8fc0bf57b41c2a99e3657581eb96bf9cb4e (diff)
downloadnewlib-bdc7392ce30a5b90ecf05b73c04cc34496482f8e.zip
newlib-bdc7392ce30a5b90ecf05b73c04cc34496482f8e.tar.gz
newlib-bdc7392ce30a5b90ecf05b73c04cc34496482f8e.tar.bz2
* mkpasswd.c (opts): Add indication that '-p' option requires an argument.
-rw-r--r--winsup/utils/ChangeLog5
-rw-r--r--winsup/utils/mkpasswd.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 63d77c3..3cb8a36 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,8 @@
+Fri Dec 14 12:10:39 2001 Jason Tishler <jason@tishler.net>
+
+ * mkpasswd.c (opts): Add indication that '-p' option requires an
+ argument.
+
2001-12-11 Christopher Faylor <cgf@redhat.com>
* Makefile.in: Add define to CXXFLAGS.
diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c
index 0f0b2cd..413739e 100644
--- a/winsup/utils/mkpasswd.c
+++ b/winsup/utils/mkpasswd.c
@@ -415,7 +415,7 @@ struct option longopts[] = {
{0, no_argument, NULL, 0}
};
-char opts[] = "ldo:gsmhpu:";
+char opts[] = "ldo:gsmhp:u:";
int
main (int argc, char **argv)