aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-10-29 17:39:41 +0000
committerrsc <devnull@localhost>2005-10-29 17:39:41 +0000
commit8b025e0f61b6ee5d8104ffafc3b89a113eb21605 (patch)
tree6373aca48e68534784eba2d680473958af0a6b81 /src
parent5aec445c23e62f8027d3df7c06bf9aaa2b3dd81a (diff)
downloadplan9port-8b025e0f61b6ee5d8104ffafc3b89a113eb21605.tar.gz
plan9port-8b025e0f61b6ee5d8104ffafc3b89a113eb21605.tar.bz2
plan9port-8b025e0f61b6ee5d8104ffafc3b89a113eb21605.zip
use EARGF
Diffstat (limited to 'src')
-rw-r--r--src/cmd/venti/srv/fmtarenas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/venti/srv/fmtarenas.c b/src/cmd/venti/srv/fmtarenas.c
index c287bdac..29e581c4 100644
--- a/src/cmd/venti/srv/fmtarenas.c
+++ b/src/cmd/venti/srv/fmtarenas.c
@@ -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){