openalbridge/openalbridge.c
changeset 2446 cbb3af76bcc0
parent 2445 5033848d3afa
child 2494 1e10a47cabea
--- a/openalbridge/openalbridge.c	Wed Oct 14 22:25:28 2009 +0000
+++ b/openalbridge/openalbridge.c	Wed Oct 14 22:27:51 2009 +0000
@@ -217,7 +217,7 @@
         /*Set volume for sound number index*/
         if(iIndex < 0 || iIndex >= iNumSounds) {
                 errno = EINVAL;
-                err_ret("(%s) ERROR - Index out of bounds (got %d, max %d)", prog, index, globalindex);
+                err_ret("(%s) ERROR - Index (%d) out of bounds", prog, iIndex);
                 return;
         }