diff options
| author | Paul Saab <ps@FreeBSD.org> | 2006-05-30 06:42:02 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2006-05-30 06:42:02 +0000 |
| commit | f83695f5e9668b898eb243660c5525c4d71eca15 (patch) | |
| tree | e6f01509f5e20f06e0db04bc96ad1ea75338ab02 /sys/dev/ciss | |
| parent | 29ef275b38bb7ca878b7a500bceb91553492903d (diff) | |
Notes
Diffstat (limited to 'sys/dev/ciss')
| -rw-r--r-- | sys/dev/ciss/ciss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 9d85234ac8b4..ed61632cb10b 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -2261,8 +2261,8 @@ ciss_user_command(struct ciss_softc *sc, IOCTL_Command_struct *ioc) /* * Get a request. */ - if ((error = ciss_get_request(sc, &cr)) != 0) - goto out; + while (ciss_get_request(sc, &cr) != 0) + tsleep(sc, PPAUSE, "cissREQ", hz); cc = CISS_FIND_COMMAND(cr); /* |
