From: Ben Pfaff Date: Sat, 18 Sep 2004 17:01:47 +0000 (+0000) Subject: Bug fixes. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aca23c99faa1bab7b00f6f5e47c4c9a8b5e6330f;p=pintos-anon Bug fixes. --- 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"; }