diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2021-01-25 11:35:06 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2021-02-01 10:50:55 +0000 |
commit | 651d588f030097c4950331f8fffb9d442f89ba11 (patch) | |
tree | 0a83c83f1fa7747b57286653142fd9d9d56ad276 /include | |
parent | 0572d6cd29d6434de166ce67a29fc8ff64777218 (diff) |
error: rename error_with_timestamp to message_with_timestamp
The -msg timestamp=on|off option controls whether a timestamp is printed
with error_report() messages. The "-msg" name suggests that this option
has a wider effect than just error_report(). The next patch extends it
to the 'log' trace backend, so rename the variable from
error_with_timestamp to message_with_timestamp.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210125113507.224287-2-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/error-report.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/error-report.h b/include/qemu/error-report.h index a5ad95ff1b..9d197daca3 100644 --- a/include/qemu/error-report.h +++ b/include/qemu/error-report.h @@ -74,7 +74,7 @@ void error_init(const char *argv0); const char *error_get_progname(void); -extern bool error_with_timestamp; +extern bool message_with_timestamp; extern bool error_with_guestname; extern const char *error_guest_name; |