]> git.proxmox.com Git - qemu.git/commitdiff
qemu-char: print notification to stderr
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Jun 2013 06:39:49 +0000 (08:39 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 28 Jun 2013 18:10:33 +0000 (22:10 +0400)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qemu-char.c

index e3b3224886d9ef697c4f9f6daeada6b8534d9c9d..371f6308c5cedc55a61e490a07351ddd15f6ce5b 100644 (file)
@@ -2666,8 +2666,8 @@ static CharDriverState *qemu_chr_open_socket_fd(int fd, bool do_nodelay,
     }
 
     if (is_listen && is_waitconnect) {
-        printf("QEMU waiting for connection on: %s\n",
-               chr->filename);
+        fprintf(stderr, "QEMU waiting for connection on: %s\n",
+                chr->filename);
         tcp_chr_accept(s->listen_chan, G_IO_IN, chr);
         qemu_set_nonblock(s->listen_fd);
     }