Author: kib
Date: Wed Dec 15 12:45:28 2010
New Revision: 216453
URL: http://svn.freebsd.org/changeset/base/216453

Log:
  Add the missed 'p' flag to getopt() optstring argument.
  
  MFC after:    1 week

Modified:
  head/sbin/newfs/newfs.c

Modified: head/sbin/newfs/newfs.c
==============================================================================
--- head/sbin/newfs/newfs.c     Wed Dec 15 08:27:17 2010        (r216452)
+++ head/sbin/newfs/newfs.c     Wed Dec 15 12:45:28 2010        (r216453)
@@ -139,7 +139,7 @@ main(int argc, char *argv[])
        part_name = 'c';
        reserved = 0;
        while ((ch = getopt(argc, argv,
-           "EJL:NO:RS:T:UXa:b:c:d:e:f:g:h:i:lm:no:r:s:")) != -1)
+           "EJL:NO:RS:T:UXa:b:c:d:e:f:g:h:i:lm:no:p:r:s:")) != -1)
                switch (ch) {
                case 'E':
                        Eflag = 1;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to