mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +00:00
restorer: reduce the shift value to fit the error code into ARM long integer.
Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
7b7a08dde5
commit
b1e8f70b05
@ -693,7 +693,7 @@ long __export_restore_task(struct task_restore_core_args *args)
|
||||
|
||||
ret = sys_munmap(args->task_entries, TASK_ENTRIES_SIZE);
|
||||
if (ret < 0) {
|
||||
ret = ((long)__LINE__ << 32) | -ret;
|
||||
ret = ((long)__LINE__ << 16) | ((-ret) & 0xffff);
|
||||
goto core_restore_failed;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user