From 3321a7faec108d19eeb426ab6ff7ae41642f56b1 Mon Sep 17 00:00:00 2001 From: Andrey Gusev Date: Wed, 18 May 2016 16:15:30 +0300 Subject: [PATCH] dinput: Fix a typo in WARN() messages. Signed-off-by: Andrey Gusev Signed-off-by: Alexandre Julliard --- dlls/dinput/joystick_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dinput/joystick_linux.c b/dlls/dinput/joystick_linux.c index 261cee1ffc8..5b02df4e023 100644 --- a/dlls/dinput/joystick_linux.c +++ b/dlls/dinput/joystick_linux.c @@ -163,7 +163,7 @@ static INT find_joystick_devices(void) #ifdef JSIOCGAXES 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; } #else @@ -173,7 +173,7 @@ static INT find_joystick_devices(void) #ifdef JSIOCGBUTTONS 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; } #else