Oops, don't print out allocated blocks in mkfs7 if we didn't allocate any.

This commit is contained in:
Warren Toomey
2016-03-23 13:41:17 +10:00
parent 287f192f2b
commit c2cbf1ff3c
+2 -1
View File
@@ -130,7 +130,8 @@ sub allocate_blocks {
}
dprintf(
"Allocated blocks for size %d: %d .. %d (%06o .. %06o)\n",
$numwords, $blklist[0], $blklist[-1], $blklist[0], $blklist[-1]);
$numwords, $blklist[0], $blklist[-1], $blklist[0], $blklist[-1])
if ($blklist[0]);
return (@blklist);
}