ref: 68820e2501046b5a7bf5cd4b11091fd91f25f7de
parent: 05915e0626ff874f3c7786a46fc8d3e025ae1788
author: mkf <mkf@cloud9p.org>
date: Fri Nov 24 04:06:27 EST 2023
kern.c, cmd/echo.c: use printf
--- a/cmd/echo.c
+++ b/cmd/echo.c
@@ -21,10 +21,9 @@
while(i < argc)
{
- printf("%s", argv[i]);
- printf(" ");
+ printf("%s ", argv[i]);
i++;
}
- vga_putc('\n');
+ printf("\n");
}
--- a/pc/kern.c
+++ b/pc/kern.c
@@ -23,7 +23,9 @@
memset(memap, FREE, MEM_MAX * (1024 / BLOCKSIZE));
vga_init();
- vga_puts("Teppich\n");
+ ps2_init();
+
+ printf("Teppich\n");
rc_main();
}