From a64e4752899a8b18674107be84ab74639d0fc685 Mon Sep 17 00:00:00 2001 From: itohy Date: Mon, 19 Aug 2002 03:52:53 +0000 Subject: [PATCH] Make it compile again. Hi, itojun! --- sys/dev/tc/cfb.c | 6 +++--- sys/dev/tc/sfb.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/tc/cfb.c b/sys/dev/tc/cfb.c index b8e93ea3ea4f..4216be56c8bf 100644 --- a/sys/dev/tc/cfb.c +++ b/sys/dev/tc/cfb.c @@ -1,4 +1,4 @@ -/* $NetBSD: cfb.c,v 1.34 2002/08/06 22:52:30 itojun Exp $ */ +/* $NetBSD: cfb.c,v 1.35 2002/08/19 03:52:53 itohy Exp $ */ /* * Copyright (c) 1998, 1999 Tohru Nishimura. All rights reserved. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cfb.c,v 1.34 2002/08/06 22:52:30 itojun Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cfb.c,v 1.35 2002/08/19 03:52:53 itohy Exp $"); #include #include @@ -672,7 +672,7 @@ get_cmap(sc, p) { 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) || diff --git a/sys/dev/tc/sfb.c b/sys/dev/tc/sfb.c index c29972a4aa71..04201cb6c8a4 100644 --- a/sys/dev/tc/sfb.c +++ b/sys/dev/tc/sfb.c @@ -1,4 +1,4 @@ -/* $NetBSD: sfb.c,v 1.53 2002/08/06 22:52:30 itojun Exp $ */ +/* $NetBSD: sfb.c,v 1.54 2002/08/19 03:52:53 itohy Exp $ */ /* * Copyright (c) 1998, 1999 Tohru Nishimura. All rights reserved. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.53 2002/08/06 22:52:30 itojun Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.54 2002/08/19 03:52:53 itohy Exp $"); #include #include @@ -702,7 +702,7 @@ get_cmap(sc, p) { 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) ||