mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 19:28:36 +00:00
tftpd: unbreak getopt()
Unbreak getopt() broken by recent commit.
Fixes: 273a307d0b
MFC after: 1 month
This commit is contained in:
parent
273a307d0b
commit
03c2616dc5
|
@ -142,7 +142,7 @@ main(int argc, char *argv[])
|
|||
acting_as_client = 0;
|
||||
|
||||
tftp_openlog("tftpd", LOG_PID | LOG_NDELAY, LOG_FTP);
|
||||
while ((ch = getopt(argc, argv, "cCd::F:lnoOp:sS:u:U:wW")) != -1) {
|
||||
while ((ch = getopt(argc, argv, "cCd::F:lnoOp:s:Su:U:wW")) != -1) {
|
||||
switch (ch) {
|
||||
case 'c':
|
||||
ipchroot = 1;
|
||||
|
|
Loading…
Reference in a new issue