-/* $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 $ */
/*
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) {