diff options
Diffstat (limited to 'util/error.c')
-rw-r--r-- | util/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/error.c b/util/error.c index cae2511732..9c40b1f458 100644 --- a/util/error.c +++ b/util/error.c @@ -217,7 +217,7 @@ ErrorClass error_get_class(const Error *err) return err->err_class; } -const char *error_get_pretty(Error *err) +const char *error_get_pretty(const Error *err) { return err->msg; } |