s/PROG_PRINT_ARB/PROG_PRINT_DEBUG/
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c
index 647ade9..9560ffa 100644
--- a/src/mesa/shader/prog_print.c
+++ b/src/mesa/shader/prog_print.c
@@ -625,7 +625,7 @@
 void
 _mesa_print_program(const struct gl_program *prog)
 {
-   _mesa_print_program_opt(prog, PROG_PRINT_ARB, GL_TRUE);
+   _mesa_print_program_opt(prog, PROG_PRINT_DEBUG, GL_TRUE);
 }