]> xenbits.xensource.com Git - unikraft/libs/musl.git/commitdiff
Fix typo in macro definition
authorAndrei Tatar <andrei@unikraft.io>
Thu, 4 May 2023 08:34:06 +0000 (10:34 +0200)
committerUnikraft <monkey@unikraft.io>
Thu, 1 Jun 2023 19:28:50 +0000 (19:28 +0000)
Previously we defined the macro `UK_LIBC_SYSCALL`, however this is not
used anywhere in unikraft; `UK_LIBC_SYSCALLS` is most likely what was
meant. This commit fixes the typo.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Rares Miculescu <miculescur@gmail.com>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #45

Makefile.uk

index 0d66cf0c914972133b04d186fa8aeb155bfe5746..0f3437a8b7176dffb966c76bdcddb9ef6e2a4544 100644 (file)
@@ -141,7 +141,7 @@ LIBMUSL_CFLAGS-y += -Wno-missing-braces
 LIBMUSL_CFLAGS-$(call gcc_version_ge,8,0) += -Wno-cast-function-type
 LIBMUSL_CFLAGS-y += -Wno-format-contains-nul
 LIBMUSL_CFLAGS-y += -Wno-type-limits
-LIBMUSL_CFLAGS-y += -DUK_LIBC_SYSCALL=0
+LIBMUSL_CFLAGS-y += -DUK_LIBC_SYSCALLS=0
 LIBMUSL_CFLAGS-y += -D_XOPEN_SOURCE=700
 LIBMUSL_CFLAGS-y += $(LIBMUSL_HDRS_FLAGS-y)