diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2011-10-25 15:48:07 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2011-10-25 15:48:07 +0000 |
commit | b3b1ff3b297878425f823c8cdb27ed13470078dd (patch) | |
tree | 797fa36bf26ad02b90a9ad67f1604c9ac9c34dc5 /sys/dev/ic | |
parent | 1e84637d4a7ec691a464197841a9ebea71e436f0 (diff) |
Initialize variables before use. And if initializing, use the correct
source! From Pedro Martelletto.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/uha.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/uha.c b/sys/dev/ic/uha.c index 2b511d86d0a..4a0a8e4d582 100644 --- a/sys/dev/ic/uha.c +++ b/sys/dev/ic/uha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uha.c,v 1.22 2011/04/03 12:42:36 krw Exp $ */ +/* $OpenBSD: uha.c,v 1.23 2011/10/25 15:48:06 krw Exp $ */ /* $NetBSD: uha.c,v 1.3 1996/10/13 01:37:29 christos Exp $ */ #undef UHADEBUG @@ -166,8 +166,8 @@ void uha_mscp_free(xsc, xmscp) void *xsc, *xmscp; { - struct uha_softc *sc = xmscp; - struct uha_mscp *mscp; + struct uha_softc *sc = xsc; + struct uha_mscp *mscp = xmscp; uha_reset_mscp(sc, mscp); |