diff options
author | msmith <msmith@FreeBSD.org> | 2002-01-08 19:36:54 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2002-01-08 19:36:54 +0000 |
commit | 2666545aeb7f6fd3b7579b9fc178ffabcc0badb2 (patch) | |
tree | ed48f258e494b6c841fb9a845100ffe6c5fea5aa /sys/dev/sbni/if_sbni.c | |
parent | 2e4f2ddc4e8e2de76c80bd78b600d4181564e546 (diff) | |
download | FreeBSD-src-2666545aeb7f6fd3b7579b9fc178ffabcc0badb2.zip FreeBSD-src-2666545aeb7f6fd3b7579b9fc178ffabcc0badb2.tar.gz |
Rename a variable that might accidentally be duplicated elsewhere.
Diffstat (limited to 'sys/dev/sbni/if_sbni.c')
-rw-r--r-- | sys/dev/sbni/if_sbni.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sbni/if_sbni.c b/sys/dev/sbni/if_sbni.c index fd06be3..f4d2887 100644 --- a/sys/dev/sbni/if_sbni.c +++ b/sys/dev/sbni/if_sbni.c @@ -116,7 +116,7 @@ static __inline void sbni_outsb(struct sbni_softc *, u_char *, u_int); static u_int32_t crc32tab[]; #ifdef SBNI_DUAL_COMPOUND -struct sbni_softc *headlist; +struct sbni_softc *sbni_headlist; #endif u_int32_t next_sbni_unit; @@ -970,7 +970,7 @@ connect_to_master(struct sbni_softc *sc) { struct sbni_softc *p; - p = (struct sbni_softc *)(((char *)&headlist) + p = (struct sbni_softc *)(((char *)&sbni_headlist) - offsetof(struct sbni_softc, link)); for (; p->link; p = p->link) { |