Oops, don't print out allocated blocks in mkfs7 if we didn't allocate any.
This commit is contained in:
+2
-1
@@ -130,7 +130,8 @@ sub allocate_blocks {
|
|||||||
}
|
}
|
||||||
dprintf(
|
dprintf(
|
||||||
"Allocated blocks for size %d: %d .. %d (%06o .. %06o)\n",
|
"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);
|
return (@blklist);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user