jsSetError() takes only two arguments (unlike ulSetError())
This commit is contained in:
parent
327d8021d0
commit
bc01619fe1
1 changed files with 2 additions and 2 deletions
4
3rdparty/joystick/jsBSD.cxx
vendored
4
3rdparty/joystick/jsBSD.cxx
vendored
|
@ -336,8 +336,8 @@ void jsJoystick::open ()
|
|||
error = ( joyfile == NULL ) ;
|
||||
if ( error )
|
||||
{
|
||||
jsSetError ( SG_WARN, "unable to open calibration file %s (%s), joystick %i disabled (you can generate the calibration file with the plib-jscal utility)",
|
||||
joyfname, strerror ( errno ), id + 1 );
|
||||
jsSetError ( SG_WARN, "unable to open calibration file, you can generate "
|
||||
"the calibration file with the plib-jscal utility" );
|
||||
return ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue