diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-19 19:23:34 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-19 19:23:34 +0100 |
commit | 7b27ab493b56f9e77d805c4f44a1717f3a79231e (patch) | |
tree | a3037447f4e3d428a61a5c3cfb4e2a98ea5981e4 /src/kernel | |
parent | 62e5a35940198f0f8fbabdf31c80455647420c4e (diff) | |
download | kogata-7b27ab493b56f9e77d805c4f44a1717f3a79231e.tar.gz kogata-7b27ab493b56f9e77d805c4f44a1717f3a79231e.zip |
Userland test infrastructure
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/core/kmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/core/kmain.c b/src/kernel/core/kmain.c index 73f7610..c8ca920 100644 --- a/src/kernel/core/kmain.c +++ b/src/kernel/core/kmain.c @@ -148,7 +148,7 @@ void kernel_init_stage2(void* data) { char *b = strrchr(modname, '/'); if (b != 0) modname = b+1; // ignore path - char name[6 + strlen(b)]; + char name[6 + strlen(modname)]; strcpy(name, "/mod/"); strcpy(name+5, modname); |