~kris/9p

9hist

5039de6c4adc9e8ee2d0fba3c390af85ad855692 — David du Colombier 34 years ago 067cf94
Plan 9 from Bell Labs 1992-01-21
1 files changed, 3 insertions(+), 3 deletions(-)

M power/boot.c
M power/boot.c => power/boot.c +3 -3
@@ 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;
	}