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 ) ;
|
error = ( joyfile == NULL ) ;
|
||||||
if ( error )
|
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)",
|
jsSetError ( SG_WARN, "unable to open calibration file, you can generate "
|
||||||
joyfname, strerror ( errno ), id + 1 );
|
"the calibration file with the plib-jscal utility" );
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue