[current tinderbox] failure on i386/i386
Lukas Ertl
le at FreeBSD.org
Wed Jun 9 12:21:54 GMT 2004
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 at FreeBSD.org http://people.freebsd.org/~le/
More information about the freebsd-i386
mailing list