Subject: A couple of small glitches in today's -current
To: None <current-users@netbsd.org>
From: Tom Ivar Helbekkmo <tih@norway.eu.net>
List: current-users
Date: 01/20/2003 20:15:57
Two fixes needed to build -current as 'cvs update'ed today (someone
accidentally changed ';;' to ';' in two completely different places):

Index: lib/libc/db/btree/bt_overflow.c
===================================================================
RCS file: /cvsroot/src/lib/libc/db/btree/bt_overflow.c,v
retrieving revision 1.10
diff -c -w -r1.10 bt_overflow.c
*** lib/libc/db/btree/bt_overflow.c	2003/01/20 05:29:57	1.10
--- lib/libc/db/btree/bt_overflow.c	2003/01/20 09:15:16
***************
*** 160,166 ****
  	 * number of the first page in the chain.
  	 */
  	plen = t->bt_psize - BTDATAOFF;
! 	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);
--- 160,166 ----
  	 * number of the first page in the chain.
  	 */
  	plen = t->bt_psize - BTDATAOFF;
! 	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);
Index: usr.sbin/pstat/pstat.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/pstat/pstat.c,v
retrieving revision 1.76
diff -c -w -r1.76 pstat.c
*** usr.sbin/pstat/pstat.c	2003/01/20 05:30:13	1.76
--- usr.sbin/pstat/pstat.c	2003/01/20 09:15:34
***************
*** 730,736 ****
  	beg = bp;
  	ep = bp + (numvnodes + 20) * (VPTRSZ + VNODESZ);
  	KGET(V_MOUNTLIST, mountlist);
! 	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;
--- 730,736 ----
  	beg = bp;
  	ep = bp + (numvnodes + 20) * (VPTRSZ + VNODESZ);
  	KGET(V_MOUNTLIST, mountlist);
! 	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;


-tih
-- 
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway
www.eunet.no  T: +47-22092958 M: +47-93013940 F: +47-22092901