Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/dev/tc Pull up revision 1.54 (requested by enami in...



details:   https://anonhg.NetBSD.org/src/rev/9637c165cdfd
branches:  netbsd-1-6
changeset: 529029:9637c165cdfd
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Aug 23 03:08:27 2002 +0000

description:
Pull up revision 1.54 (requested by enami in ticket #616):
Make it compile again.
Hi, itojun!

diffstat:

 sys/dev/tc/sfb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8138a74d4dde -r 9637c165cdfd sys/dev/tc/sfb.c
--- a/sys/dev/tc/sfb.c  Fri Aug 23 03:08:19 2002 +0000
+++ b/sys/dev/tc/sfb.c  Fri Aug 23 03:08:27 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sfb.c,v 1.51.6.1 2002/08/07 01:57:44 lukem Exp $ */
+/* $NetBSD: sfb.c,v 1.51.6.2 2002/08/23 03:08:27 lukem Exp $ */
 
 /*
  * Copyright (c) 1998, 1999 Tohru Nishimura.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.51.6.1 2002/08/07 01:57:44 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.51.6.2 2002/08/23 03:08:27 lukem Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -702,7 +702,7 @@
 {
        u_int index = p->index, count = p->count;
 
-       if (index >= CMAP_SIZE || count) > CMAP_SIZE - index)
+       if (index >= CMAP_SIZE || count > CMAP_SIZE - index)
                return (EINVAL);
 
        if (!uvm_useracc(p->red, count, B_WRITE) ||



Home | Main Index | Thread Index | Old Index