aboutsummaryrefslogtreecommitdiff
path: root/qemu-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-error.c')
-rw-r--r--qemu-error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-error.c b/qemu-error.c
index 41c191d528..4b20d283a2 100644
--- a/qemu-error.c
+++ b/qemu-error.c
@@ -193,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.
*/