summaryrefslogtreecommitdiff
path: root/src/ws.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@openbsd.org>2010-01-10 15:22:47 +0000
committerMatthieu Herrb <matthieu@openbsd.org>2010-01-10 15:22:47 +0000
commit620053ed0e0471cb35e314f1b3fea25c75087aa7 (patch)
tree647ce535df84aa012ff74cc8d2737433f357da0b /src/ws.c
parentd9c806af7b27dcb2c78202b6c6b33525f9693ee1 (diff)
Typos in comments and error messages.
Diffstat (limited to 'src/ws.c')
-rw-r--r--src/ws.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ws.c b/src/ws.c
index 9c80970..5922d93 100644
--- a/src/ws.c
+++ b/src/ws.c
@@ -43,7 +43,6 @@
#include "ws-properties.h"
#endif
-
#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7
#include <X11/Xatom.h>
#include <xserver-properties.h>
@@ -494,7 +493,7 @@ wsDeviceOn(DeviceIntPtr pWS)
}
if (priv->type == WSMOUSE_TYPE_TPANEL) {
- /* save calibration values */
+ /* get calibration values */
if (ioctl(pInfo->fd, WSMOUSEIO_GCALIBCOORDS, &coords) != 0) {
xf86Msg(X_ERROR, "GCALIBCOORS failed %s\n",
strerror(errno));
@@ -506,7 +505,7 @@ wsDeviceOn(DeviceIntPtr pWS)
coords.samplelen = priv->raw;
if (ioctl(pInfo->fd, WSMOUSEIO_SCALIBCOORDS,
&coords) != 0) {
- xf86Msg(X_ERROR, "GCALIBCOORS failed %s\n",
+ xf86Msg(X_ERROR, "SCALIBCOORS failed %s\n",
strerror(errno));
return !Success;
}