From 5ccb8153219422f8a4f65bb7ea4392786452a31c Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Sun, 13 May 2001 15:53:23 +0000 Subject: missing else --- sys/dev/pci/hifn7751.c | 4 ++-- 1 file 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 { -- cgit v1.2.3