summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-12-11 13:00:14 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-12-11 13:00:14 +0000
commit60c4f206b4f3029e576ba581136a5637847a0f13 (patch)
tree050d20d861d54594f1181862eeecdc63b58802d8
parente82b5860049ea9df5d1d6e135d2547986275bae6 (diff)
Sane attach ordering
-rw-r--r--usr.sbin/config/pack.c8
1 files changed, 4 insertions, 4 deletions
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) {