From 5039de6c4adc9e8ee2d0fba3c390af85ad855692 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Tue, 21 Jan 1992 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1992-01-21 --- power/boot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/power/boot.c b/power/boot.c index 1d3c4ff0c136571b14097bccb6535f9130d0414a..e8b3d9562580823036a14cab3396586dd4ad6ace 100644 --- a/power/boot.c +++ b/power/boot.c @@ -261,7 +261,7 @@ hotdial(char *arg) /* * use /dev; it's local */ - if(mount(fd, "/dev", MREPL, "", "", -1) < 0) + if(mount(fd, "/dev", MREPL, "", "") < 0) error("mount"); switch(fork()){ case 0: @@ -393,7 +393,7 @@ boot(int ask) print("mount..."); if(bind("/", "/", MREPL) < 0) error("bind"); - if(mount(fd, "/", MAFTER|MCREATE, "", "", -1) < 0) + if(mount(fd, "/", MAFTER|MCREATE, "", "") < 0) error("mount"); settime(); @@ -508,7 +508,7 @@ settime(void) f = open("#s/boot", ORDWR); if(f < 0) return; - if(mount(f, "/n/boot", MREPL, "", "", -1) < 0){ + if(mount(f, "/n/boot", MREPL, "", "") < 0){ close(f); return; }