Re: [current tinderbox] failure on i386/i386

From: Lukas Ertl <le_at_FreeBSD.org>
Date: Wed, 9 Jun 2004 14:21:41 +0200 (CEST)
On Wed, 9 Jun 2004, FreeBSD Tinderbox wrote:

> ===> usr.sbin/pstat
> cc -O2 -pipe  -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /tinderbox/sandbox/CURRENT/i386/i386/src/usr.sbin/pstat/pstat.c
> /tinderbox/sandbox/CURRENT/i386/i386/src/usr.sbin/pstat/pstat.c: In function `ttymode_kvm':
> /tinderbox/sandbox/CURRENT/i386/i386/src/usr.sbin/pstat/pstat.c:241: error: structure has no member named `sle_next'
> *** Error code 1

Member t_list in struct tty was changed from an SLIST_ENTRY to a 
TAILQ_ENTRY in rev 1.79.

This patch should fix the tinderbox (untested):

---8<---
Index: pstat.c
===================================================================
RCS file: /home/ncvs/src/usr.sbin/pstat/pstat.c,v
retrieving revision 1.89
diff -u -r1.89 pstat.c
--- pstat.c	26 Mar 2004 09:28:03 -0000	1.89
+++ pstat.c	9 Jun 2004 12:19:22 -0000
_at__at_ -238,7 +238,7 _at__at_
  		XT_COPY(olowat);
  #undef XT_COPY
  		ttyprt(&xt);
-		tp = tty.t_list.sle_next;
+		tp = tty.t_list.stqe_next;
  	}
  }

---8<---

cheers,
le

-- 
Lukas Ertl                         http://homepage.univie.ac.at/l.ertl/
le_at_FreeBSD.org                     http://people.freebsd.org/~le/
Received on Wed Jun 09 2004 - 10:21:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:56 UTC