Commit 89ab7f9f authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

parasite: Return error is write failed

Fix a typo.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 03d448f0
...@@ -111,7 +111,7 @@ static int sys_write_safe(int fd, void *buf, int size) ...@@ -111,7 +111,7 @@ static int sys_write_safe(int fd, void *buf, int size)
if (ret != size) { if (ret != size) {
pr_err("not all data was written\n"); pr_err("not all data was written\n");
ret = -EIO; return -EIO;
} }
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment