]> git.proxmox.com Git - mirror_qemu.git/blobdiff - chardev/char.c
CODING_STYLE: indent example code as all others
[mirror_qemu.git] / chardev / char.c
index 514cd6b0c3faca4d1d0528d064e9e18ac3248375..54724a56b1d8cbccf87aa976f2ac75ec82cb19d8 100644 (file)
@@ -28,6 +28,7 @@
 #include "sysemu/sysemu.h"
 #include "qemu/config-file.h"
 #include "qemu/error-report.h"
+#include "qemu/qemu-print.h"
 #include "chardev/char.h"
 #include "qapi/error.h"
 #include "qapi/qapi-commands-char.h"
@@ -651,7 +652,7 @@ Chardev *qemu_chr_new_from_opts(QemuOpts *opts, GMainContext *context,
 
         chardev_name_foreach(help_string_append, str);
 
-        error_printf("Available chardev backend types: %s\n", str->str);
+        qemu_printf("Available chardev backend types: %s\n", str->str);
         g_string_free(str, true);
         return NULL;
     }