From f3b61bfa283ed26ed9af9828862388c0e461bcaa Mon Sep 17 00:00:00 2001 From: cjp Date: Wed, 10 Sep 2003 22:33:39 +0000 Subject: [PATCH] A minor fix to that last commit. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@183 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_joystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeglut/freeglut/src/freeglut_joystick.c b/freeglut/freeglut/src/freeglut_joystick.c index 5174c7b..63d7864 100644 --- a/freeglut/freeglut/src/freeglut_joystick.c +++ b/freeglut/freeglut/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; }