diff options
| author | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2008-01-28 16:21:34 +0000 |
|---|---|---|
| committer | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2008-01-28 16:21:34 +0000 |
| commit | 0aeee4bd8a0d2fe6b4c0e7598f342b984f8a3ee9 (patch) | |
| tree | bfec7f67d1ec9f28ab319c0ecaa65a5e7c72be3a /sys/dev/ciss | |
| parent | 10882804c9c886111a95747a68d0ac10728bee77 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ciss')
| -rw-r--r-- | sys/dev/ciss/ciss.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 41f290dce56a..e33ff32c0adf 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -3133,10 +3133,14 @@ static void ciss_nop_complete(struct ciss_request *cr) { struct ciss_softc *sc; + static int first_time = 1; sc = cr->cr_sc; if (ciss_report_request(cr, NULL, NULL) != 0) { - ciss_printf(sc, "SENDING NOP MESSAGE FAILED\n"); + if (first_time == 1) { + first_time = 0; + ciss_printf(sc, "SENDING NOP MESSAGE FAILED (not logging anymore)\n"); + } } ciss_release_request(cr); |
