]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
lib/vfscore: Update registration of `sync` to syscall_shim
authorSergiu Moga <sergiu.moga@protonmail.com>
Thu, 13 May 2021 08:49:25 +0000 (11:49 +0300)
committerUnikraft <monkey@unikraft.io>
Thu, 13 May 2021 14:38:57 +0000 (14:38 +0000)
Change `UK_LIBC_SYSCALL` to `UK_LIBC_SYSCALLS` for the `sync` system call
with respect to the updated documentation.

Reported-by: Alexander Jung <a.jung@lancs.ac.uk>
Signed-off-by: Sergiu Moga <sergiu.moga@protonmail.com>
Reviewed-by: Alexander Jung <a.jung@lancs.ac.uk>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #204

lib/vfscore/mount.c

index ea092640161171af7577bf33c82db1da8a15547d..eefdf9e69d839851ecf75e3d6eea2fe298a7df3a 100644 (file)
@@ -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();