aboutsummaryrefslogtreecommitdiffstats
path: root/progress.c
diff options
context:
space:
mode:
Diffstat (limited to 'progress.c')
-rw-r--r--progress.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/progress.c b/progress.c
index eaa3314..d08c5d4 100644
--- a/progress.c
+++ b/progress.c
@@ -1,4 +1,4 @@
-/* $NetBSD: progress.c,v 1.8 2004/03/09 17:04:24 hubertf Exp $ */
+/* $NetBSD: progress.c,v 1.9 2004/04/03 06:19:22 lukem Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: progress.c,v 1.8 2004/03/09 17:04:24 hubertf Exp $");
+__RCSID("$NetBSD: progress.c,v 1.9 2004/04/03 06:19:22 lukem Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -105,7 +105,8 @@ main(int argc, char *argv[])
break;
case 'l':
lflag++;
- filesize = strtoull(optarg, NULL, 0);
+ filesize = strsuftoll("input size", optarg, 0,
+ LLONG_MAX);
break;
case 'p':
prefix = optarg;