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:
Cyrill Gorcunov 2012-11-06 18:18:11 +04:00 committed by Pavel Emelyanov
parent 03d448f047
commit 89ab7f9fa5

View file

@ -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;