Skip to content

Commit

Permalink
sync: s/write()/lxc_write_nointr()/g
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Jul 31, 2018
1 parent e4dddb3 commit 0df772a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/sync.c
Expand Up @@ -72,7 +72,7 @@ static int __sync_wake(int fd, int sequence)
{
int sync = sequence;

if (write(fd, &sync, sizeof(sync)) < 0) {
if (lxc_write_nointr(fd, &sync, sizeof(sync)) < 0) {
SYSERROR("Sync wake failure");
return -1;
}
Expand Down

0 comments on commit 0df772a

Please sign in to comment.