mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
util/error: make func optional
The function name is not available in Rust, so make it optional. Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@@ -18,6 +18,8 @@ struct Error
|
||||
{
|
||||
char *msg;
|
||||
ErrorClass err_class;
|
||||
|
||||
/* Used for error_abort only, may be NULL. */
|
||||
const char *func;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user