dinput: Fix a typo in WARN() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9a8ee50f2e
commit
3321a7faec
|
@ -163,7 +163,7 @@ static INT find_joystick_devices(void)
|
||||||
#ifdef JSIOCGAXES
|
#ifdef JSIOCGAXES
|
||||||
if (ioctl(fd, JSIOCGAXES, &joydev.axis_count) < 0)
|
if (ioctl(fd, JSIOCGAXES, &joydev.axis_count) < 0)
|
||||||
{
|
{
|
||||||
WARN("ioctl(%s,JSIOCGAXES) failed: %s, defauting to 2\n", joydev.device, strerror(errno));
|
WARN("ioctl(%s,JSIOCGAXES) failed: %s, defaulting to 2\n", joydev.device, strerror(errno));
|
||||||
joydev.axis_count = 2;
|
joydev.axis_count = 2;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
@ -173,7 +173,7 @@ static INT find_joystick_devices(void)
|
||||||
#ifdef JSIOCGBUTTONS
|
#ifdef JSIOCGBUTTONS
|
||||||
if (ioctl(fd, JSIOCGBUTTONS, &joydev.button_count) < 0)
|
if (ioctl(fd, JSIOCGBUTTONS, &joydev.button_count) < 0)
|
||||||
{
|
{
|
||||||
WARN("ioctl(%s,JSIOCGBUTTONS) failed: %s, defauting to 2\n", joydev.device, strerror(errno));
|
WARN("ioctl(%s,JSIOCGBUTTONS) failed: %s, defaulting to 2\n", joydev.device, strerror(errno));
|
||||||
joydev.button_count = 2;
|
joydev.button_count = 2;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue