summaryrefslogtreecommitdiff
path: root/src/user
diff options
context:
space:
mode:
Diffstat (limited to 'src/user')
-rw-r--r--src/user/app/init/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/user/app/init/init.c b/src/user/app/init/init.c
index 0114ac5..73e863e 100644
--- a/src/user/app/init/init.c
+++ b/src/user/app/init/init.c
@@ -36,11 +36,12 @@ void redirect(const char *exe, const char *out, const char *in) {
}
int main(void) {
+ const char *teststr = "I am teststr.\n";
handle_t killswitch_pipe[2];
freopen("/kdev/com1", "a+", stdout);
freopen("/kdev/com1", "a+", stderr);
- printf("[init] stage 2, main at %p\n", &main);
+ printf("[init] stage 2, main at %p, testtr at %p\n", &main, teststr);
MOUNT_AT("/keyboard") {
MOUNT_AT("/") { fs_whitelist((const char*[]){"/kdev/ps2/kb", NULL}); }