M boot/boot.c => boot/boot.c +2 -2
@@ 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);
/*
M boot/dosboot.c => boot/dosboot.c +2 -2
@@ 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);
M pc/devata.c => pc/devata.c +2 -2
@@ 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;