2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

vdso-compat: let coverity know that the function does not return

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber
2020-10-13 13:38:48 +00:00
committed by Andrei Vagin
parent cfcc0b14a6
commit cf4fe1fa1c

View File

@@ -13,6 +13,7 @@ static void exit_on(int ret, int err_fd, char *reason)
if (ret) {
syscall(__NR_write, err_fd, reason, strlen(reason));
syscall(__NR_exit, ret);
__builtin_unreachable();
}
}
/*