]> git.proxmox.com Git - qemu.git/blobdiff - qemu-error.c
Open 1.0 development branch.
[qemu.git] / qemu-error.c
index 5a35e7c1c2c0f9fa63fcf4bccba8a804af09619c..4b20d283a2a6e2ea1d62454726de3b7d201f8767 100644 (file)
@@ -12,7 +12,6 @@
 
 #include <stdio.h>
 #include "monitor.h"
-#include "sysemu.h"
 
 /*
  * Print to current monitor if we have one, else to stderr.
@@ -194,6 +193,8 @@ void error_print_loc(void)
 
 /*
  * Print an error message to current monitor if we have one, else to stderr.
+ * Format arguments like sprintf().  The result should not contain
+ * newlines.
  * Prepend the current location and append a newline.
  * It's wrong to call this in a QMP monitor.  Use qerror_report() there.
  */