use EARGF

This commit is contained in:
rsc 2005-01-16 21:16:03 +00:00
parent a20a146803
commit 32053cdfb3

View file

@ -144,7 +144,7 @@ threadmain(int argc, char *argv[])
dflag = 1; dflag = 1;
break; break;
case 'c': case 'c':
ncache = atoi(ARGF()); ncache = atoi(EARGF(usage()));
break; break;
case 'i': case 'i':
stdio = 1; stdio = 1;
@ -152,10 +152,10 @@ threadmain(int argc, char *argv[])
mfd[1] = 1; mfd[1] = 1;
break; break;
case 'h': case 'h':
host = ARGF(); host = EARGF(usage());
break; break;
case 's': case 's':
defsrv = ARGF(); defsrv = EARGF(usage());
break; break;
case 'p': case 'p':
noperm = 1; noperm = 1;