From: Christian Brauner Date: Sun, 29 Jul 2018 21:51:02 +0000 (+0200) Subject: sync: s/write()/lxc_write_nointr()/g X-Git-Tag: lxc-3.1.0~185^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03876f90e27fdb28cd7e4db8ddcbf3d42dd4b1c5;p=thirdparty%2Flxc.git sync: s/write()/lxc_write_nointr()/g Signed-off-by: Christian Brauner --- diff --git a/src/lxc/sync.c b/src/lxc/sync.c index 536668b06..273654565 100644 --- a/src/lxc/sync.c +++ b/src/lxc/sync.c @@ -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; }