dinput: Fix a typo in WARN() messages
Andrey Gusev
andrey.goosev at gmail.com
Wed May 18 08:17:09 CDT 2016
-------------- next part --------------
From 8d6d618ddbb11f95453626f057811050985392ec Mon Sep 17 00:00:00 2001
Message-Id: <8d6d618ddbb11f95453626f057811050985392ec.1463577352.git.andrey.goosev at gmail.com>
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Wed, 18 May 2016 16:15:30 +0300
Subject: [PATCH] dinput: Fix a typo in WARN() messages
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
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 261cee1..5b02df4 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
--
2.5.5
More information about the wine-patches
mailing list