diff options
author | Colin Walters <walters@verbum.org> | 2017-03-24 10:21:22 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2017-03-24 15:26:57 -0400 |
commit | 4040f55ac516ef2473884928a2b9d22efa96cca3 (patch) | |
tree | 7ae539dcdebb9f4045245578f3aabf0b153a30b3 /glnx-errors.h | |
parent | 0c52d85e69310c6499a70a360a03fba2b4532677 (diff) | |
download | libglnx-4040f55ac516ef2473884928a2b9d22efa96cca3.tar.gz |
errors: Fix legacy set_prefix_error_from_errno()
We were missing the previous automatic `: ` addition; noticed in
a failing ostree test.
Fix this by just calling the new API as the non-prefix case does too.
Diffstat (limited to 'glnx-errors.h')
-rw-r--r-- | glnx-errors.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/glnx-errors.h b/glnx-errors.h index b891f96..2f6b962 100644 --- a/glnx-errors.h +++ b/glnx-errors.h @@ -128,9 +128,7 @@ glnx_throw_errno_prefix (GError **error, const char *fmt, ...) #define glnx_set_prefix_error_from_errno(error, format, args...) \ do { \ - glnx_set_error_from_errno (error); \ - g_prefix_error (error, format, args); \ + glnx_throw_errno_prefix (error, format, args); \ } while (0); - G_END_DECLS |