fix error msg
diff --git a/src/mesa/shader/arbprogram.c b/src/mesa/shader/arbprogram.c
index baba887..91fb691 100644
--- a/src/mesa/shader/arbprogram.c
+++ b/src/mesa/shader/arbprogram.c
@@ -126,7 +126,7 @@
       case GL_CURRENT_VERTEX_ATTRIB_ARB:
          if (index == 0) {
             _mesa_error(ctx, GL_INVALID_OPERATION,
-                        "glGetVertexAttribfvARB(pname)");
+                        "glGetVertexAttribfvARB(index==0)");
             return;
          }
          FLUSH_CURRENT(ctx, 0);