From 393106ea4e46a4afbc6b4b86e3a743bdb9209671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Sat, 5 Jul 2025 22:50:18 +0200 Subject: [PATCH] fix test/salloc_align.c --- test/salloc_align.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/salloc_align.c b/test/salloc_align.c index 389d19a..b081377 100644 --- a/test/salloc_align.c +++ b/test/salloc_align.c @@ -5,8 +5,8 @@ #include #include #include -#include "ucore/ucore_utils.h" -#include "../src/ucore_salloc.c" +#include "ucore/utils.h" +#include "../src/salloc.c" struct Foo { short s1; char b; @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) assert((p/__alignof__(void*)) * __alignof__(void*) == p); assert((p/__alignof__(double)) * __alignof__(double) == p); } - + uc_free_salloc(s); s = uc_new_salloc(141);