]> git.proxmox.com Git - qemu.git/blobdiff - ui/console.c
error: Strip trailing '\n' from error string arguments (again)
[qemu.git] / ui / console.c
index a4bff8ce8a961db16ec0ecd8283027de4032d3e6..0a68836d506b45929b0df41c5a9bb7bf3e6c098f 100644 (file)
@@ -25,7 +25,7 @@
 #include "ui/console.h"
 #include "qemu/timer.h"
 #include "qmp-commands.h"
-#include "qemu-char.h"
+#include "char/char.h"
 
 //#define DEBUG_CONSOLE
 #define DEFAULT_BACKSCROLL 512
@@ -194,7 +194,7 @@ void qmp_screendump(const char *filename, Error **errp)
     if (consoles[0] && consoles[0]->hw_screen_dump) {
         consoles[0]->hw_screen_dump(consoles[0]->hw, filename, cswitch, errp);
     } else {
-        error_setg(errp, "device doesn't support screendump\n");
+        error_setg(errp, "device doesn't support screendump");
     }
 
     if (cswitch) {