mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 10:06:25 +01:00
Add again the ':' after the x option in th eargument list to getopt.
It disappeared in rev. 1.23 newfs.c PR: 12292 Submitted by: Cy Schubert <cy@cschuber.net.gov.bc.ca>
This commit is contained in:
parent
8af8f3ae04
commit
de4a801355
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48019
@ -42,7 +42,7 @@ static const char copyright[] =
|
||||
static char sccsid[] = "@(#)newfs.c 8.13 (Berkeley) 5/1/95";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id: newfs.c,v 1.27 1998/10/17 08:03:52 bde Exp $";
|
||||
"$Id: newfs.c,v 1.28 1999/02/09 17:19:19 dillon Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -249,7 +249,7 @@ main(argc, argv)
|
||||
|
||||
opstring = mfs ?
|
||||
"NF:T:a:b:c:d:e:f:i:m:o:s:" :
|
||||
"NOS:T:a:b:c:d:e:f:i:k:l:m:n:o:p:r:s:t:u:vx";
|
||||
"NOS:T:a:b:c:d:e:f:i:k:l:m:n:o:p:r:s:t:u:vx:";
|
||||
while ((ch = getopt(argc, argv, opstring)) != -1)
|
||||
switch (ch) {
|
||||
case 'N':
|
||||
|
Loading…
Reference in New Issue
Block a user