From 1d794d87f4307f7b34f5b69d69213343aed9d137 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 2 Feb 2024 10:10:24 -0500 Subject: looping kalloc can allocate all of memory (sometimes) :3 --- src/lib.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib.c') diff --git a/src/lib.c b/src/lib.c index ee4afcb..d2708c8 100644 --- a/src/lib.c +++ b/src/lib.c @@ -31,7 +31,6 @@ void *memmove(void *dest, const void *src, unsigned long n) { } void *memset(void *restrict dest, int c, unsigned long n) { - unsigned char *d = dest; for (; n; n--) *d++ = c; return dest; -- cgit v1.2.3-freya