summaryrefslogtreecommitdiff
path: root/test/cairo-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cairo-test.c')
-rw-r--r--test/cairo-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cairo-test.c b/test/cairo-test.c
index d8ce6800f..a17cd6f8b 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -440,7 +440,8 @@ cairo_test_for_target (cairo_test_t *test,
}
if (cairo_status (cr) != CAIRO_STATUS_SUCCESS) {
- cairo_test_log ("Error: Function under test left cairo status in an error state: %s\n", cairo_status_string (cr));
+ cairo_test_log ("Error: Function under test left cairo status in an error state: %s\n",
+ cairo_status_to_string (cairo_status (cr)));
return CAIRO_TEST_FAILURE;
}