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";
|
static char sccsid[] = "@(#)newfs.c 8.13 (Berkeley) 5/1/95";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -249,7 +249,7 @@ main(argc, argv)
|
|||||||
|
|
||||||
opstring = mfs ?
|
opstring = mfs ?
|
||||||
"NF:T:a:b:c:d:e:f:i:m:o:s:" :
|
"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)
|
while ((ch = getopt(argc, argv, opstring)) != -1)
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'N':
|
case 'N':
|
||||||
|
Loading…
Reference in New Issue
Block a user