aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vbackup
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-08-12 00:29:23 +0000
committerrsc <devnull@localhost>2005-08-12 00:29:23 +0000
commit8307dc614ae985f3dc7f4d2feb4235ee805c6e66 (patch)
tree548de5350f6dbf6eb144412a6955d8cdbe93f01f /src/cmd/vbackup
parenteb5fbb97a769c42db733b84eda3fa85dde388cd4 (diff)
downloadplan9port-8307dc614ae985f3dc7f4d2feb4235ee805c6e66.tar.gz
plan9port-8307dc614ae985f3dc7f4d2feb4235ee805c6e66.tar.bz2
plan9port-8307dc614ae985f3dc7f4d2feb4235ee805c6e66.zip
use strtoull instead of atoi
Diffstat (limited to 'src/cmd/vbackup')
-rw-r--r--src/cmd/vbackup/vnfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/vbackup/vnfs.c b/src/cmd/vbackup/vnfs.c
index 48aa4a3b..f006419b 100644
--- a/src/cmd/vbackup/vnfs.c
+++ b/src/cmd/vbackup/vnfs.c
@@ -120,10 +120,10 @@ threadmain(int argc, char **argv)
addr = EARGF(usage());
break;
case 'b':
- blocksize = atoi(EARGF(usage()));
+ blocksize = strtoull(EARGF(usage()), 0, 0);
break;
case 'c':
- cachesize = atoi(EARGF(usage()));
+ cachesize = strtoull(EARGF(usage()), 0, 0);
break;
case 'r':
srv->alwaysreject++;