summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-09-08 11:50:20 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-09-08 11:50:20 +0000
commitb7377d008bf44c956ae91fb36aa6e43d1d42fd4a (patch)
tree0597ac2d2bcb7ba1c833227c927bfd72b41214af /tests
parentbde5cc253bfcba70c6832213bddf1338cd66c498 (diff)
downloadpaxutils-b7377d008bf44c956ae91fb36aa6e43d1d42fd4a.tar.gz
(parse_opt): Allow --length=0
Diffstat (limited to 'tests')
-rw-r--r--tests/genfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/genfile.c b/tests/genfile.c
index f67fa4d..48abd97 100644
--- a/tests/genfile.c
+++ b/tests/genfile.c
@@ -145,7 +145,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
break;
case 'l':
- file_length = get_size (arg, 0);
+ file_length = get_size (arg, 1);
break;
case 'p':