X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffreeglut_joystick.c;h=63d786458293cb57cf8cb2f5d939906778ae32ff;hb=5ea3854c0c128a32bcf1f11d9fd30f92212b455b;hp=5174c7b0ae090e5adf59200de6cbb001541eb4f4;hpb=12965126f5f67bdf811a482b6e4c046f559a0645;p=freeglut diff --git a/src/freeglut_joystick.c b/src/freeglut_joystick.c index 5174c7b..63d7864 100644 --- a/src/freeglut_joystick.c +++ b/src/freeglut_joystick.c @@ -247,7 +247,7 @@ static void fghJoystickRawRead ( SFG_Joystick* joy, int* buttons, float* axes ) if( status != JS_RETURN ) { - fgWarning( joy->fname ); + fgWarning( "%s", joy->fname ); joy->error = TRUE; return; }