col: dont allow col -l 0

This commit is contained in:
Hiltjo Posthuma 2015-03-30 21:49:33 +02:00
parent b1fcce32e2
commit bf90e85f18
1 changed files with 1 additions and 1 deletions

2
col.c
View File

@ -198,7 +198,7 @@ main(int argc, char *argv[])
halfline = 1;
break;
case 'l':
pagesize = estrtonum(EARGF(usage()), 0, MIN(SIZE_MAX, LLONG_MAX));
pagesize = estrtonum(EARGF(usage()), 1, MIN(SIZE_MAX, LLONG_MAX));
break;
case 'p':
escape = 1;