idualwifi7260: Add error to panic message.

Should help with diagnosing the KDLs seen in #14298.
This commit is contained in:
Augustin Cavalier
2022-06-13 23:21:14 -04:00
parent 73d88d4ee6
commit e6da31ae5d
@@ -4587,7 +4587,7 @@ iwm_rx_addbuf(struct iwm_softc *sc, int size, int idx)
if (err) {
/* XXX */
if (fatal)
panic("iwm: could not load RX mbuf");
panic("iwm: could not load RX mbuf: %d", err);
m_freem(m);
return err;
}