From bc01619fe1666883b071f94010a81b31d555c13e Mon Sep 17 00:00:00 2001 From: Ganael Laplanche Date: Tue, 12 Jun 2018 12:10:00 +0200 Subject: [PATCH] jsSetError() takes only two arguments (unlike ulSetError()) --- 3rdparty/joystick/jsBSD.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/joystick/jsBSD.cxx b/3rdparty/joystick/jsBSD.cxx index 5dffb4836..2625d18a4 100644 --- a/3rdparty/joystick/jsBSD.cxx +++ b/3rdparty/joystick/jsBSD.cxx @@ -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 ; }