From: Christopher John Purnell Date: Wed, 10 Sep 2003 22:33:39 +0000 (+0000) Subject: A minor fix to that last commit. X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=5ea3854c0c128a32bcf1f11d9fd30f92212b455b;p=freeglut A minor fix to that last commit. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@183 7f0cb862-5218-0410-a997-914c9d46530a --- 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; }