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:
committed by
Andrei Vagin
parent
cfcc0b14a6
commit
cf4fe1fa1c
@@ -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();
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
Reference in New Issue
Block a user