From 4357207237e074b5a42ee9739eadd040fd1cf296 Mon Sep 17 00:00:00 2001 From: rtm Date: Sat, 12 Aug 2006 11:38:57 +0000 Subject: fix getblk to actually lock the block no more cons_put system calls usertests tests two processes writing files --- init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.c') diff --git a/init.c b/init.c index dcd0fda..0a4223c 100644 --- a/init.c +++ b/init.c @@ -17,10 +17,10 @@ main(void) open("console", 1); open("console", 1); - write(1, "init...\n", 8); + puts("init...\n"); while(1){ - write(1, "running sh...\n", 14); + puts("running sh...\n"); pid = fork(); if(pid == 0){ exec("sh", sh_args); -- cgit v1.2.3