Skip to content

Commit

Permalink
network: 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 Dec 10, 2018
1 parent 089ad11 commit e3a9bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/network.c
Expand Up @@ -1299,7 +1299,7 @@ static int proc_sys_net_write(const char *path, const char *value)
if (fd < 0)
return -errno;

if (write(fd, value, strlen(value)) < 0)
if (lxc_write_nointr(fd, value, strlen(value)) < 0)
err = -errno;

close(fd);
Expand Down

0 comments on commit e3a9bfb

Please sign in to comment.