Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/tc Make it compile again.
details: https://anonhg.NetBSD.org/src/rev/7115060f19dc
branches: trunk
changeset: 535442:7115060f19dc
user: itohy <itohy%NetBSD.org@localhost>
date: Mon Aug 19 03:52:53 2002 +0000
description:
Make it compile again.
Hi, itojun!
diffstat:
sys/dev/tc/cfb.c | 6 +++---
sys/dev/tc/sfb.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 6ace454c9b3c -r 7115060f19dc sys/dev/tc/cfb.c
--- a/sys/dev/tc/cfb.c Mon Aug 19 02:17:54 2002 +0000
+++ b/sys/dev/tc/cfb.c Mon Aug 19 03:52:53 2002 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -672,7 +672,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) ||
diff -r 6ace454c9b3c -r 7115060f19dc sys/dev/tc/sfb.c
--- a/sys/dev/tc/sfb.c Mon Aug 19 02:17:54 2002 +0000
+++ b/sys/dev/tc/sfb.c Mon Aug 19 03:52:53 2002 +0000
@@ -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 <sys/cdefs.h>
-__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 <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