From d7b879c6ecf2030dabe0191607c08d3193f2d7ff Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 20 Jan 2003 07:12:12 +0000 Subject: [PATCH] Grrr. So much for my ability to use grep(1) effectively. Pointed out by Stephen Degler in private mail. --- lib/libc/db/btree/bt_overflow.c | 6 +++--- sys/dev/usb/ohci.c | 6 +++--- usr.sbin/pstat/pstat.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/libc/db/btree/bt_overflow.c b/lib/libc/db/btree/bt_overflow.c index 1fdafd935454..72fb726712e4 100644 --- a/lib/libc/db/btree/bt_overflow.c +++ b/lib/libc/db/btree/bt_overflow.c @@ -1,4 +1,4 @@ -/* $NetBSD: bt_overflow.c,v 1.10 2003/01/20 05:29:57 simonb Exp $ */ +/* $NetBSD: bt_overflow.c,v 1.11 2003/01/20 07:12:12 simonb Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)bt_overflow.c 8.5 (Berkeley) 7/16/94"; #else -__RCSID("$NetBSD: bt_overflow.c,v 1.10 2003/01/20 05:29:57 simonb Exp $"); +__RCSID("$NetBSD: bt_overflow.c,v 1.11 2003/01/20 07:12:12 simonb Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -160,7 +160,7 @@ __ovfl_put(t, dbt, pg) * number of the first page in the chain. */ plen = t->bt_psize - BTDATAOFF; - for (last = NULL, p = dbt->data, sz = dbt->size; + for (last = NULL, p = dbt->data, sz = dbt->size;; p = (char *)p + plen, last = h) { if ((h = __bt_new(t, &npg)) == NULL) return (RET_ERROR); diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index 4a7dcc61cbf9..e3582bc25c40 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ohci.c,v 1.136 2003/01/20 05:30:09 simonb Exp $ */ +/* $NetBSD: ohci.c,v 1.137 2003/01/20 07:12:13 simonb Exp $ */ /* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */ /* @@ -46,7 +46,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.136 2003/01/20 05:30:09 simonb Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.137 2003/01/20 07:12:13 simonb Exp $"); #include #include @@ -1408,7 +1408,7 @@ ohci_softintr(void *v) bEndpointAddress); xfer->status = USBD_NORMAL_COMPLETION; actlen = 0; - for (i = 0, sitd = xfer->hcpriv; + for (i = 0, sitd = xfer->hcpriv;; sitd = next) { next = sitd->nextitd; if (OHCI_ITD_GET_CC(le32toh(sitd-> diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 57f2cca98293..ee8df223afce 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: pstat.c,v 1.76 2003/01/20 05:30:13 simonb Exp $ */ +/* $NetBSD: pstat.c,v 1.77 2003/01/20 07:12:13 simonb Exp $ */ /*- * Copyright (c) 1980, 1991, 1993, 1994 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\n\ #if 0 static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95"; #else -__RCSID("$NetBSD: pstat.c,v 1.76 2003/01/20 05:30:13 simonb Exp $"); +__RCSID("$NetBSD: pstat.c,v 1.77 2003/01/20 07:12:13 simonb Exp $"); #endif #endif /* not lint */ @@ -730,7 +730,7 @@ kinfo_vnodes(avnodes) beg = bp; ep = bp + (numvnodes + 20) * (VPTRSZ + VNODESZ); KGET(V_MOUNTLIST, mountlist); - for (mp = mountlist.cqh_first; + for (mp = mountlist.cqh_first;; mp = mount.mnt_list.cqe_next) { KGET2(mp, &mount, sizeof(mount), "mount entry"); for (vp = mount.mnt_vnodelist.lh_first;