diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-01-10 15:22:48 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-01-10 15:22:48 +0000 |
commit | 89d36c87099dd4b6a78c594793346eadec7a6e4d (patch) | |
tree | 7f5151b4c816eee20da3fb03369e4dd770e11d74 /driver/xf86-input-ws/src | |
parent | e29503dfa1d1db70f8d4738b11d952ccab2657a6 (diff) |
Typos in comments and error messages.
Diffstat (limited to 'driver/xf86-input-ws/src')
-rw-r--r-- | driver/xf86-input-ws/src/ws.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/driver/xf86-input-ws/src/ws.c b/driver/xf86-input-ws/src/ws.c index 0edfa9d30..4b9e42d9e 100644 --- a/driver/xf86-input-ws/src/ws.c +++ b/driver/xf86-input-ws/src/ws.c @@ -13,7 +13,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $OpenBSD: ws.c,v 1.29 2009/12/31 18:01:14 matthieu Exp $ */ +/* $OpenBSD: ws.c,v 1.30 2010/01/10 15:22:47 matthieu Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -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; } |