summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-04-25 13:32:04 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-04-25 13:32:04 +0000
commitd3618a298bb6ba5607916a81de3a4548822aa526 (patch)
treeba88dfe9ddff04b342ddcf7674d5ec73cc6c8c65 /sys
parentc98f063d8c2bda3663795ac8304186311e9fee9f (diff)
the error path for teh sync cache command should return, not try to blunder
on with the second half of the command.
Diffstat (limited to 'sys')
-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 */