diff --git a/os-posix.c b/os-posix.c index 4898ebf4a2..e31a099a2b 100644 --- a/os-posix.c +++ b/os-posix.c @@ -319,8 +319,6 @@ int qemu_create_pidfile(const char *filename) return -1; } if (lockf(fd, F_TLOCK, 0) == -1) { - fprintf(stderr, "lock file '%s' failed: %s\n", - filename, strerror(errno)); close(fd); return -1; }