mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
Better error message for a case that I hit.
This commit is contained in:
parent
fba0ed115e
commit
71e93b3961
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59215
@ -520,7 +520,8 @@ main(int argc, char *argv[])
|
||||
warnx("warning: sectors/FAT limits file system to %u clusters",
|
||||
cls);
|
||||
if (cls < mincls(fat))
|
||||
errx(1, "too few clusters for FAT%u", fat);
|
||||
errx(1, "%u clusters too few clusters for FAT%u, need %u", cls, fat,
|
||||
mincls(fat));
|
||||
if (cls > maxcls(fat)) {
|
||||
cls = maxcls(fat);
|
||||
bpb.bsec = x1 + (cls + 1) * bpb.spc - 1;
|
||||
|
Loading…
Reference in New Issue
Block a user