panic: declare as printf-style-checked
. and related fixes Change-Id: I5131ac57dc53d8aec8d421a34c5ceea383404d7a
This commit is contained in:
@@ -273,7 +273,7 @@ static void pio_user2nic(dpeth_t *dep, int pageno, int pktsize)
|
||||
if (inb_reg0(dep, DP_ISR) & ISR_RDC) break;
|
||||
}
|
||||
if (ix == 100) {
|
||||
panic(RdmaErrMsg);
|
||||
panic("%s", RdmaErrMsg);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user