From 7151c253e5d08e242c034560a12a8de8b8b3e956 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Tue, 12 Aug 1997 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1997-08-12 --- boot/boot.c | 4 ++-- boot/dosboot.c | 4 ++-- pc/devata.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/boot/boot.c b/boot/boot.c index b28be821884c6f3757a1ed003f001ba44dd760ea..0d71ae2b422fd26546a2afca92bfefee5000ae2c 100644 --- a/boot/boot.c +++ b/boot/boot.c @@ -116,9 +116,9 @@ boot(int argc, char *argv[]) * create the name space, mount the root fs */ if(bind("/", "/", MREPL) < 0) - fatal("bind"); + fatal("bind /"); if(mount(fd, "/", MAFTER|MCREATE, "") < 0) - fatal("mount"); + fatal("mount /"); close(fd); /* diff --git a/boot/dosboot.c b/boot/dosboot.c index f3f9cefc57d1cb466b16a874748125fa10f7a15e..3ebe1faab7cabfae6f336ff73b1f90f17576fdff 100644 --- a/boot/dosboot.c +++ b/boot/dosboot.c @@ -29,11 +29,11 @@ dosboot(void) * pick a floppy and mount it as root */ if(bind("/", "/", MREPL) < 0) - fatal("bind"); + fatal("bind /"); if(mount(fd, "/", MAFTER|MCREATE, "#f/fd0disk") < 0) if(mount(fd, "/", MAFTER|MCREATE, "#f/fd1disk") < 0) if(mount(fd, "/", MAFTER|MCREATE, "#H/hd0dos") < 0) - fatal("mount"); + fatal("mount /"); close(fd); settime(1); diff --git a/pc/devata.c b/pc/devata.c index 9441ed8d3e02c1629c5629ca3b9658c09cb3e7c3..8ad2e76a7a58561d3325b2fc1f69e2ec7700923e 100644 --- a/pc/devata.c +++ b/pc/devata.c @@ -190,7 +190,7 @@ static int defirq[NCtlr] = { }; static void ataintr(Ureg*, void*); -static long ataxfer(Drive*, Partition*, int, long, long, uchar*); +static long ataxfer(Drive*, Partition*, int, ulong, long, uchar*); static void ataident(Drive*); static void atafeature(Drive*, uchar); static void ataparams(Drive*); @@ -820,7 +820,7 @@ atasleep(Controller *cp, int ms) * parts. */ static long -ataxfer(Drive *dp, Partition *pp, int cmd, long start, long len, uchar *buf) +ataxfer(Drive *dp, Partition *pp, int cmd, ulong start, long len, uchar *buf) { Controller *cp; long lblk;