Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wscons fix compilation problems.
details: https://anonhg.NetBSD.org/src/rev/9abc1dc739d7
branches: trunk
changeset: 588166:9abc1dc739d7
user: christos <christos%NetBSD.org@localhost>
date: Fri Feb 10 20:38:54 2006 +0000
description:
fix compilation problems.
diffstat:
sys/dev/wscons/wsmouse.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 5f0b945f6638 -r 9abc1dc739d7 sys/dev/wscons/wsmouse.c
--- a/sys/dev/wscons/wsmouse.c Fri Feb 10 17:33:01 2006 +0000
+++ b/sys/dev/wscons/wsmouse.c Fri Feb 10 20:38:54 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsmouse.c,v 1.41 2006/02/10 17:33:01 christos Exp $ */
+/* $NetBSD: wsmouse.c,v 1.42 2006/02/10 20:38:54 christos Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -111,7 +111,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsmouse.c,v 1.41 2006/02/10 17:33:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsmouse.c,v 1.42 2006/02/10 20:38:54 christos Exp $");
#include "wsmouse.h"
#include "wsdisplay.h"
@@ -464,9 +464,9 @@
btnno = ffs(d) - 1;
KASSERT(btnno >= 0);
- if (nevents >= events / sizeof(events[0])) {
+ if (nevents >= sizeof(events) / sizeof(events[0])) {
printf("%s: Event queue full (button status mb=0x%x"
- " ub=0x%x\n", sc->sc_dev.dv_xname, mb, ub);
+ " ub=0x%x\n", sc->sc_base.me_dv.dv_xname, mb, ub);
break;
}
Home |
Main Index |
Thread Index |
Old Index