]> git.proxmox.com Git - qemu.git/blobdiff - qemu-error.c
usbredir: Add usbredir_init_endpoints() helper
[qemu.git] / qemu-error.c
index 4b20d283a2a6e2ea1d62454726de3b7d201f8767..08a36f480c841cc2223b6185da02fd96385fed11 100644 (file)
@@ -11,7 +11,7 @@
  */
 
 #include <stdio.h>
-#include "monitor.h"
+#include "monitor/monitor.h"
 
 /*
  * Print to current monitor if we have one, else to stderr.
@@ -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.
  */