From edf86881446717b633dbb2aaac7b25dbc4630c3f Mon Sep 17 00:00:00 2001
From: Anton Kling <anton@kling.gg>
Date: Wed, 26 Jun 2024 21:17:06 +0200
Subject: Kernel: Code cleanup

---
 kernel/libc/string/copy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'kernel/libc/string')

diff --git a/kernel/libc/string/copy.c b/kernel/libc/string/copy.c
index 3ab5618..17f720c 100644
--- a/kernel/libc/string/copy.c
+++ b/kernel/libc/string/copy.c
@@ -1,8 +1,8 @@
 #include <assert.h>
 #include <kmalloc.h>
+#include <mmu.h>
 #include <stddef.h>
 #include <string.h>
-#include <mmu.h>
 
 char *copy_and_allocate_string(const char *s) {
   size_t l = strlen(s) + 1;
@@ -26,6 +26,6 @@ char *copy_and_allocate_user_string(const char *s) {
   if (!r) {
     return NULL;
   }
-  memcpy(r, s, len+1);
+  memcpy(r, s, len + 1);
   return r;
 }
-- 
cgit v1.2.3