summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2002-09-04 22:08:06 +0000
committerfgsch <fgsch@openbsd.org>2002-09-04 22:08:06 +0000
commit7ebdba168cf30988b0ae08b3d32101a6dcef7321 (patch)
treef62d0f0517379a7eb5c472b71945199ac3737396
parentmore cruft (diff)
downloadwireguard-openbsd-7ebdba168cf30988b0ae08b3d32101a6dcef7321.tar.xz
wireguard-openbsd-7ebdba168cf30988b0ae08b3d32101a6dcef7321.zip
don't dereference ecb on default case, it's uninitialized.
-rw-r--r--sys/dev/ic/ncr53c9x.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c
index 097e131648b..d92e3566672 100644
--- a/sys/dev/ic/ncr53c9x.c
+++ b/sys/dev/ic/ncr53c9x.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr53c9x.c,v 1.14 2002/03/14 01:26:55 millert Exp $ */
+/* $OpenBSD: ncr53c9x.c,v 1.15 2002/09/04 22:08:06 fgsch Exp $ */
/* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */
/*
@@ -1726,7 +1726,6 @@ gotit:
break;
default:
- sc_print_addr(ecb->xs->sc_link);
printf("%s: unexpected MESSAGE IN; sending DEVICE RESET\n",
sc->sc_dev.dv_xname);
reset: