sync: s/write()/lxc_write_nointr()/g

parent d98d27e2
......@@ -72,8 +72,8 @@ static int __sync_wake(int fd, int sequence)
{
int sync = sequence;
if (write(fd, &sync, sizeof(sync)) < 0) {
ERROR("sync wake failure : %s", strerror(errno));
if (lxc_write_nointr(fd, &sync, sizeof(sync)) < 0) {
SYSERROR("Sync wake failure");
return -1;
}
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