]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
sync: s/write()/lxc_write_nointr()/g
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 29 Jul 2018 21:51:02 +0000 (23:51 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 29 Jul 2018 22:16:30 +0000 (00:16 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/sync.c

index 536668b062524548b9ae8ac2a9b341ffbe177487..27365456531c0b45afaed92191af9017808b34d6 100644 (file)
@@ -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;
        }