summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-04-25 13:32:03 +0000
committerdlg <dlg@openbsd.org>2006-04-25 13:32:03 +0000
commit56ff06dd00e5fc1e8387f0e9bb4ef145de03f692 (patch)
tree3bf6a242b540a70c3ed5005c37308c90d82394ba
parentsame hack for .ln as .o (diff)
downloadwireguard-openbsd-56ff06dd00e5fc1e8387f0e9bb4ef145de03f692.tar.xz
wireguard-openbsd-56ff06dd00e5fc1e8387f0e9bb4ef145de03f692.zip
the error path for teh sync cache command should return, not try to blunder
on with the second half of the command.
-rw-r--r--sys/dev/ic/ami.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index 1a1d1d84e41..8e9f7fcf8de 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.153 2006/04/23 15:32:09 marco Exp $ */
+/* $OpenBSD: ami.c,v 1.154 2006/04/25 13:32:03 dlg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -1241,6 +1241,7 @@ ami_done_flush(struct ami_softc *sc, struct ami_ccb *ccb)
ami_put_ccb(ccb);
scsi_done(xs);
splx(s);
+ return;
}
/* reuse the ccb for the sysflush command */