From: Sergiu Moga Date: Thu, 13 May 2021 08:49:25 +0000 (+0300) Subject: lib/vfscore: Update registration of `sync` to syscall_shim X-Git-Tag: RELEASE-0.6~219 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=0583311b8720b909aef3bd4fb0d5dc1471ad561f;p=unikraft%2Funikraft.git lib/vfscore: Update registration of `sync` to syscall_shim Change `UK_LIBC_SYSCALL` to `UK_LIBC_SYSCALLS` for the `sync` system call with respect to the updated documentation. Reported-by: Alexander Jung Signed-off-by: Sergiu Moga Reviewed-by: Alexander Jung Tested-by: Unikraft CI GitHub-Pull-Request: #204 --- diff --git a/lib/vfscore/mount.c b/lib/vfscore/mount.c index ea0926401..eefdf9e69 100644 --- a/lib/vfscore/mount.c +++ b/lib/vfscore/mount.c @@ -380,7 +380,7 @@ UK_LLSYSCALL_R_DEFINE(int, sync) uk_mutex_unlock(&mount_lock); } -#if UK_LIBC_SYSCALL +#if UK_LIBC_SYSCALLS void sync(void) { uk_syscall_e_sync();