diff options
author | Anton Kling <anton@kling.gg> | 2024-03-14 13:09:59 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-03-14 13:09:59 +0100 |
commit | 2e8b474d4219e7faaac3823e73c8d528c2698a37 (patch) | |
tree | 7d93b5fd220e8b703ba69f9b55122d15c9d619fb /kernel/libc | |
parent | 051ac9f1941e8bc6ad87beccb61a2d53111ba8ea (diff) |
random changes made
Diffstat (limited to 'kernel/libc')
-rw-r--r-- | kernel/libc/exit/assert.c | 1 | ||||
-rw-r--r-- | kernel/libc/string/copy.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/kernel/libc/exit/assert.c b/kernel/libc/exit/assert.c index 47c0704..89aa863 100644 --- a/kernel/libc/exit/assert.c +++ b/kernel/libc/exit/assert.c @@ -8,4 +8,5 @@ __attribute__((__noreturn__)) void aFailed(char *f, int l) { kprintf("%s : %d\n", f, l); dump_backtrace(10); halt(); + kprintf("after halt?\n"); } diff --git a/kernel/libc/string/copy.c b/kernel/libc/string/copy.c index 166924b..11cd664 100644 --- a/kernel/libc/string/copy.c +++ b/kernel/libc/string/copy.c @@ -14,7 +14,7 @@ char *copy_and_allocate_string(const char *s) { char *copy_and_allocate_user_string(const char *s) { size_t len; - if (!is_valid_user_c_string(s, &len)) { + if (!mmu_is_valid_user_c_string(s, &len)) { return NULL; } size_t real_len = strlen(s); |