]> git.proxmox.com Git - qemu.git/blobdiff - qemu-error.c
target-s390x: avoid AREG0 for FPU helpers
[qemu.git] / qemu-error.c
index 41c191d528863163c5f48fcb44569d7c11ebc5ad..7cd5ffe1e9a4c8a372a26905153307589f8f7004 100644 (file)
@@ -157,6 +157,11 @@ void error_set_progname(const char *argv0)
     progname = p ? p + 1 : argv0;
 }
 
+const char *error_get_progname(void)
+{
+    return progname;
+}
+
 /*
  * Print current location to current monitor if we have one, else to stderr.
  */
@@ -193,6 +198,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.
  */