summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-05-13 15:53:23 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-05-13 15:53:23 +0000
commit5ccb8153219422f8a4f65bb7ea4392786452a31c (patch)
tree076411804d99a32f55e70f1a9cdc54af3bc9fdad
parent25673787bbabcccb8282d30cac9e5f69f1a10f59 (diff)
missing else
-rw-r--r--sys/dev/pci/hifn7751.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index cdd87e869f7..ec052e214f7 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.60 2001/05/13 15:39:27 deraadt Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.61 2001/05/13 15:53:22 jason Exp $ */
/*
* Invertex AEON / Hi/fn 7751 driver
@@ -1262,7 +1262,7 @@ hifn_process(crp)
if (crp->crp_flags & CRYPTO_F_IMBUF) {
cmd->src_m = (struct mbuf *)crp->crp_buf;
cmd->dst_m = (struct mbuf *)crp->crp_buf;
- } if (crp->crp_flags & CRYPTO_F_IOV) {
+ } else if (crp->crp_flags & CRYPTO_F_IOV) {
cmd->src_io = (struct criov *)crp->crp_buf;
cmd->dst_io = (struct criov *)crp->crp_buf;
} else {