]> git.proxmox.com Git - mirror_qemu.git/blobdiff - os-posix.c
linux-headers: Update to v6.1
[mirror_qemu.git] / os-posix.c
index 4858650c3e386252d3410baa6fc2a47d6bfed232..5adc69f560ef18e4dad502e3e860e126c84c985c 100644 (file)
@@ -272,7 +272,7 @@ void os_setup_post(void)
             error_report("not able to chdir to /: %s", strerror(errno));
             exit(1);
         }
-        TFR(fd = qemu_open_old("/dev/null", O_RDWR));
+        fd = RETRY_ON_EINTR(qemu_open_old("/dev/null", O_RDWR));
         if (fd == -1) {
             exit(1);
         }