1
0
Fork 0

jsSetError() takes only two arguments (unlike ulSetError())

This commit is contained in:
Ganael Laplanche 2018-06-12 12:10:00 +02:00
parent 327d8021d0
commit bc01619fe1

View file

@ -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 ;
}