mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Move a diagnostic behind "if (bootverbose)".
This commit is contained in:
parent
86442b5201
commit
921cb54a13
1 changed files with 7 additions and 5 deletions
|
|
@ -29,7 +29,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: bt.c,v 1.9 1998/11/10 06:44:50 gibbs Exp $
|
||||
* $Id: bt.c,v 1.10 1998/11/10 06:47:11 gibbs Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
@ -1538,10 +1538,12 @@ btdone(struct bt_softc *bt, struct bt_ccb *bccb, bt_mbi_comp_code_t comp_code)
|
|||
break;
|
||||
case BMBI_ABORT:
|
||||
case BMBI_ERROR:
|
||||
printf("bt: ccb %p - error %x occured. "
|
||||
"btstat = %x, sdstat = %x\n",
|
||||
(void *)bccb, comp_code, bccb->hccb.btstat,
|
||||
bccb->hccb.sdstat);
|
||||
if (bootverbose) {
|
||||
printf("bt: ccb %p - error %x occured. "
|
||||
"btstat = %x, sdstat = %x\n",
|
||||
(void *)bccb, comp_code, bccb->hccb.btstat,
|
||||
bccb->hccb.sdstat);
|
||||
}
|
||||
/* An error occured */
|
||||
switch(bccb->hccb.btstat) {
|
||||
case BTSTAT_DATARUN_ERROR:
|
||||
|
|
|
|||
Loading…
Reference in a new issue