Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 14:21:41 +0200 (CEST)
From:      Lukas Ertl <le@FreeBSD.org>
To:        freebsd-current@FreeBSD.org, phk@FreeBSD.org
Cc:        i386@FreeBSD.org
Subject:   Re: [current tinderbox] failure on i386/i386
Message-ID:  <20040609141716.S94982@korben.in.tern>
In-Reply-To: <20040609120940.548AF7306D@freebsd-current.sentex.ca>
References:  <20040609120940.548AF7306D@freebsd-current.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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
@@ -238,7 +238,7 @@
  		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@FreeBSD.org                     http://people.freebsd.org/~le/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040609141716.S94982>