From aca23c99faa1bab7b00f6f5e47c4c9a8b5e6330f Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 18 Sep 2004 17:01:47 +0000 Subject: [PATCH] Bug fixes. --- src/utils/pintos | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/pintos b/src/utils/pintos index 867f2c1..9206629 100755 --- a/src/utils/pintos +++ b/src/utils/pintos @@ -51,7 +51,7 @@ while (@ARGV) { copy_pad ($hostfn, "scratch.dsk", 512); # Do copy. - run_vm ("-ci", $hostfn, $size, "-q"); + run_vm ("-ci", $guestfn, $size, "-q"); exit 0; } elsif ($arg eq 'get') { usage () if @ARGV != 1 && @ARGV != 2; @@ -284,7 +284,7 @@ sub bochs_disk_line { return "" if !defined $file; my (%geom) = disk_geometry ($file); return "$device: type=disk, path=$file, mode=flat, " - . " cylinders=$geom{C}, heads=$geom{H}, spt=$geom{S}, " + . "cylinders=$geom{C}, heads=$geom{H}, spt=$geom{S}, " . "translation=none\n"; } -- 2.30.2