---
 tests/util/piglit-util-egl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/util/piglit-util-egl.c b/tests/util/piglit-util-egl.c
index 5de290a..a7d37e5 100644
--- a/tests/util/piglit-util-egl.c
+++ b/tests/util/piglit-util-egl.c
@@ -69,7 +69,7 @@ void piglit_expect_egl_error(EGLint expected_error, enum 
piglit_result result)
        /* Print the expected error, but only if an error was really expected. 
*/
        if (expected_error != EGL_SUCCESS) {
                printf("Expected EGL error: %s 0x%x\n",
-               piglit_get_gl_error_name(expected_error), expected_error);
+               piglit_get_egl_error_name(expected_error), expected_error);
         }
 
        piglit_report_result(result);
-- 
1.7.8.6

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to