Updated hello.c from putch() to printf(). master origin/HEAD origin/master
authorAaron Taylor <ataylor@subgeniuskitty.com>
Mon, 11 Jan 2021 06:25:33 +0000 (22:25 -0800)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Mon, 11 Jan 2021 06:25:33 +0000 (22:25 -0800)
hello.c

diff --git a/hello.c b/hello.c
index 8c52dc9..9309eb6 100644 (file)
--- a/hello.c
+++ b/hello.c
@@ -7,18 +7,5 @@ void
 hello(void)
 {
     wait(01000);
 hello(void)
 {
     wait(01000);
-    putch('H');
-    putch('e');
-    putch('l');
-    putch('l');
-    putch('o');
-    putch(',');
-    putch(' ');
-    putch('W');
-    putch('o');
-    putch('r');
-    putch('l');
-    putch('d');
-    putch('!');
-    putch('\n');
+    printf("Hello, World!\n");
 }
 }