mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
use EARGF
This commit is contained in:
parent
5aec445c23
commit
8b025e0f61
1 changed files with 2 additions and 2 deletions
|
@ -33,12 +33,12 @@ threadmain(int argc, char *argv[])
|
|||
settrace(EARGF(usage()));
|
||||
break;
|
||||
case 'a':
|
||||
asize = unittoull(ARGF());
|
||||
asize = unittoull(EARGF(usage()));
|
||||
if(asize == TWID64)
|
||||
usage();
|
||||
break;
|
||||
case 'b':
|
||||
blocksize = unittoull(ARGF());
|
||||
blocksize = unittoull(EARGF(usage()));
|
||||
if(blocksize == ~0)
|
||||
usage();
|
||||
if(blocksize > MaxDiskBlock){
|
||||
|
|
Loading…
Reference in a new issue