diff options
Diffstat (limited to 'apps/init.c')
-rw-r--r-- | apps/init.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/init.c b/apps/init.c index 813021b..5879c1e 100644 --- a/apps/init.c +++ b/apps/init.c @@ -1,5 +1,6 @@ // MIT License, Copyright (c) 2020 Marvin Borner +#include <conv.h> #include <def.h> #include <mem.h> #include <print.h> @@ -9,7 +10,10 @@ void main() { print("Init loaded.\n"); - printf("%x %d %b\n ABC %s", 42, 42, 42, "BAUM"); + char *buf = malloc(10); + conv_base(42, buf, 8, 0); + printf("\n----\nTEST: %s\n----\n", buf); + /* printf("%x %d %b\n ABC %s", 42, 42, 42, "BAUM"); */ sys0(SYS_LOOP); /* sys1(SYS_EXEC, (int)"/a"); */ while (1) { |