mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-01 22:33:30 +00:00
parasite: Return error is write failed
Fix a typo. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
03d448f047
commit
89ab7f9fa5
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ static int sys_write_safe(int fd, void *buf, int size)
|
|||
|
||||
if (ret != size) {
|
||||
pr_err("not all data was written\n");
|
||||
ret = -EIO;
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue