mirror of
https://github.com/DoctorWkt/pdp7-unix.git
synced 2026-04-14 07:59:13 +00:00
Oops, don't print out allocated blocks in mkfs7 if we didn't allocate any.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user