diff options
author | Markus Armbruster | 2019-10-10 10:15:08 +0200 |
---|---|---|
committer | Markus Armbruster | 2019-12-18 08:36:15 +0100 |
commit | deda497b846addcc6841274a7ac17e13d3eb146c (patch) | |
tree | 6871ad500e565b3e350a32420c3789ecfd4688f7 /include/qemu/error-report.h | |
parent | Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-12-1... (diff) | |
download | qemu-deda497b846addcc6841274a7ac17e13d3eb146c.tar.gz qemu-deda497b846addcc6841274a7ac17e13d3eb146c.tar.xz qemu-deda497b846addcc6841274a7ac17e13d3eb146c.zip |
error: Fix -msg timestamp default
-msg parameter "timestamp" defaults to "off" if you don't specify msg,
and to "on" if you do. Messed up right in commit 5e2ac51917 "add
timestamp to error_report()". Mostly harmless, because "timestamp" is
the only parameter, so "if you do" is "-msg ''", which nobody does.
Change the default to "off" no matter what.
While there, rename enable_timestamp_msg to error_with_timestamp, and
polish documentation.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191010081508.8978-1-armbru@redhat.com>
Diffstat (limited to 'include/qemu/error-report.h')
-rw-r--r-- | include/qemu/error-report.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/qemu/error-report.h b/include/qemu/error-report.h index 00d069b20f..87532d8596 100644 --- a/include/qemu/error-report.h +++ b/include/qemu/error-report.h @@ -73,6 +73,7 @@ void error_init(const char *argv0); }) const char *error_get_progname(void); -extern bool enable_timestamp_msg; + +extern bool error_with_timestamp; #endif |