diff --git a/sys/cam/scsi/scsi_sa.c b/sys/cam/scsi/scsi_sa.c index ede582cdbeda..cf8bde4ec6f0 100644 --- a/sys/cam/scsi/scsi_sa.c +++ b/sys/cam/scsi/scsi_sa.c @@ -2205,10 +2205,12 @@ samount(struct cam_periph *periph, int oflags, dev_t dev) (softc->quirks & SA_QUIRK_NO_MODESEL) == 0) { error = sasetparams(periph, SA_PARAM_BUFF_MODE, 0, 0, 0, SF_NO_PRINT); - if (error == 0) + if (error == 0) { softc->buffer_mode = SMH_SA_BUF_MODE_SIBUF; - xpt_print_path(ccb->ccb_h.path); - printf("unable to set buffered mode\n"); + } else { + xpt_print_path(ccb->ccb_h.path); + printf("unable to set buffered mode\n"); + } error = 0; /* not an error */ }