Remove arbitrary limit on filenames

The filenames were from 0001.fff to 9999.fff.
This limit hasn't been a problem, but Anselm Distelrath reported
on February 8th, 2013 that isn't enough to test his system:
a RAID 6 with 18 hard drives of 3TB each.

Now filenames are from 1.fff to <INT_MAX>.fff.
This commit is contained in:
Michel Machado
2013-02-08 13:37:30 -05:00
parent a642c2f3c8
commit 90b0bfbfcd
3 changed files with 33 additions and 22 deletions

View File

@@ -158,7 +158,7 @@ static void iterate_files(const char *path, const int *files, int progress)
int number = 0;
tot_ok = tot_corrupted = tot_changed = tot_overwritten = tot_size = 0;
printf(" SECTORS "
printf(" SECTORS "
" ok/corrupted/changed/overwritten\n");
while (*files >= 0) {