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

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