diff options
author | michael@ozlabs.org <michael@ozlabs.org> | 2011-12-13 12:22:57 +1100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-15 09:27:22 -0600 |
commit | 7636a470a8ccd99cfb2d89eae9b6720be5a203c4 (patch) | |
tree | ce86e55456cda85084c86f1701d2aa1405f40daf /qemu-error.h | |
parent | 1ecf47bf0a091700e45f1b7d1f5ad85abc0acd22 (diff) |
error: Add an accessor for progname
We'd like to get the progname for help output, so add an accessor.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Reviewed-by: Andreas F=E4rber <afaerber@suse.de>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-error.h')
-rw-r--r-- | qemu-error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-error.h b/qemu-error.h index 4d5c53700e..93d74b4a30 100644 --- a/qemu-error.h +++ b/qemu-error.h @@ -36,5 +36,6 @@ void error_printf_unless_qmp(const char *fmt, ...) GCC_FMT_ATTR(1, 2); void error_print_loc(void); void error_set_progname(const char *argv0); void error_report(const char *fmt, ...) GCC_FMT_ATTR(1, 2); +const char *error_get_progname(void); #endif |