aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs/sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/programs/sh.c')
-rw-r--r--src/userspace/programs/sh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/userspace/programs/sh.c b/src/userspace/programs/sh.c
index 6dcb206..8da493e 100644
--- a/src/userspace/programs/sh.c
+++ b/src/userspace/programs/sh.c
@@ -1,13 +1,13 @@
#include <syscall.h>
+#include <stdio.h>
void main()
{
- syscall_putch('\n');
- syscall_putch('>');
- syscall_putch(' ');
+ printf("Test for printf! %d\n", 42);
+ printf("[~] ");
while (1) {
- syscall_putch(syscall_getch());
+ putch(getch());
}
syscall_halt();