summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/state_tracker/tests/st_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/tests/st_format.c b/src/mesa/state_tracker/tests/st_format.c
index 35225e1abf7..12cb74bd0be 100644
--- a/src/mesa/state_tracker/tests/st_format.c
+++ b/src/mesa/state_tracker/tests/st_format.c
@@ -92,7 +92,7 @@ int main(int argc, char **argv)
if (pf != i) {
fprintf(stderr, "Round-tripping %s -> %s -> %s failed\n",
util_format_short_name(i),
- _mesa_get_format_name(pf),
+ _mesa_get_format_name(mf),
util_format_short_name(pf));
return 1;
}