mkfs.mfs: fix typo in error message

Closes #242

Change-Id: I91ec2b36b2abfa897a43c97d886578fd28a5c768
This commit is contained in:
Nik Nyby 2018-01-08 23:55:18 -05:00 committed by Lionel Sambuc
parent b2ee0702ff
commit 24f3305be0

View File

@ -264,7 +264,7 @@ main(int argc, char *argv[])
/* Determine the size of the device if not specified as -b or proto. */
maxblocks = sizeup(argv[optind]);
if (bblocks != 0 && bblocks + fs_offset_blocks > maxblocks && !insertmode) {
errx(4, "Given size -b %d exeeds device capacity(%d)\n", bblocks, maxblocks);
errx(4, "Given size -b %d exceeds device capacity(%d)\n", bblocks, maxblocks);
}
if (argc - optind == 1 && bblocks == 0) {