mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 02:34:59 +00:00
The -N option takes one argument, hence the getopt control string
needs to have a colon for it. Looks like nobody has tested this so far.
This commit is contained in:
parent
e02a6ccb4e
commit
08e9e0741b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5344
|
@ -137,7 +137,7 @@ main(argc, argv)
|
|||
|
||||
openlog("savecore", LOG_PERROR, LOG_DAEMON);
|
||||
|
||||
while ((ch = getopt(argc, argv, "cdfNvz")) != EOF)
|
||||
while ((ch = getopt(argc, argv, "cdfN:vz")) != EOF)
|
||||
switch(ch) {
|
||||
case 'c':
|
||||
clear = 1;
|
||||
|
|
Loading…
Reference in a new issue