summaryrefslogtreecommitdiff
path: root/kernel/libc/string/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/libc/string/copy.c')
-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);