From: niklas Date: Wed, 11 Dec 1996 13:00:13 +0000 (+0000) Subject: Sane attach ordering X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cc139b2e3ee0e58a20008f5e0d6273ae2f6053cb;p=openbsd Sane attach ordering --- diff --git a/usr.sbin/config/pack.c b/usr.sbin/config/pack.c index 20b57e4e102..bbac10d142a 100644 --- a/usr.sbin/config/pack.c +++ b/usr.sbin/config/pack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pack.c,v 1.5 1996/10/23 22:37:58 niklas Exp $ */ +/* $OpenBSD: pack.c,v 1.6 1996/12/11 13:00:13 niklas Exp $ */ /* $NetBSD: pack.c,v 1.5 1996/08/31 21:15:11 mycroft Exp $ */ /* @@ -166,14 +166,14 @@ void packdevi() { register struct devi *i, *l, *p; - register struct devbase *d; + register struct deva *d; register int j, m, n; packed = emalloc((ndevi + 1) * sizeof *packed); n = 0; - for (d = allbases; d != NULL; d = d->d_next) { + for (d = alldevas; d != NULL; d = d->d_next) { /* - * For each instance of each device, add or collapse + * For each instance of each attachment, add or collapse * all its aliases. */ for (i = d->d_ihead; i != NULL; i = i->i_bsame) {