summaryrefslogtreecommitdiff
path: root/kernel/libc/string
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-03-14 13:09:59 +0100
committerAnton Kling <anton@kling.gg>2024-03-14 13:09:59 +0100
commit2e8b474d4219e7faaac3823e73c8d528c2698a37 (patch)
tree7d93b5fd220e8b703ba69f9b55122d15c9d619fb /kernel/libc/string
parent051ac9f1941e8bc6ad87beccb61a2d53111ba8ea (diff)
random changes made
Diffstat (limited to 'kernel/libc/string')
-rw-r--r--kernel/libc/string/copy.c2
1 files changed, 1 insertions, 1 deletions
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);