diff --git a/sys/dev/mps/mps_sas.c b/sys/dev/mps/mps_sas.c index c77f8a4066d..6e5252bec1d 100644 --- a/sys/dev/mps/mps_sas.c +++ b/sys/dev/mps/mps_sas.c @@ -308,7 +308,7 @@ mpssas_log_command(struct mps_command *cm, u_int level, const char *fmt, ...) return; /* No need to be in here if debugging isn't enabled */ - if (cm->cm_sc->mps_debug & level) == 0) + if ((cm->cm_sc->mps_debug & level) == 0) return; sbuf_new(&sb, str, sizeof(str), 0);