Module Name: src
Committed By: jakllsch
Date: Sun Sep 11 22:28:21 UTC 2011
Modified Files:
src/sys/dev/wscons: wsmouse.c
Log Message:
Correct copy/paste error in previous.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/wscons/wsmouse.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/wscons/wsmouse.c
diff -u src/sys/dev/wscons/wsmouse.c:1.63 src/sys/dev/wscons/wsmouse.c:1.64
--- src/sys/dev/wscons/wsmouse.c:1.63 Sun Sep 11 19:19:19 2011
+++ src/sys/dev/wscons/wsmouse.c Sun Sep 11 22:28:21 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: wsmouse.c,v 1.63 2011/09/11 19:19:19 jakllsch Exp $ */
+/* $NetBSD: wsmouse.c,v 1.64 2011/09/11 22:28:21 jakllsch Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -104,7 +104,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsmouse.c,v 1.63 2011/09/11 19:19:19 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsmouse.c,v 1.64 2011/09/11 22:28:21 jakllsch Exp $");
#include "wsmouse.h"
#include "wsdisplay.h"
@@ -622,7 +622,7 @@
sc->sc_x = INVALID_X;
sc->sc_y = INVALID_Y;
sc->sc_z = INVALID_Z;
- sc->sc_z = INVALID_W;
+ sc->sc_w = INVALID_W;
/* Stop button repeating when messing with the device. */
if (sc->sc_repeat_button != -1) {