grlib: Fix snprintf() overflow warnings from gcc 12

Updates #4662.
This commit is contained in:
Joel Sherrill
2023-01-27 17:44:59 -06:00
parent 453939753b
commit 29a3ad1ba9
14 changed files with 15 additions and 15 deletions

View File

@@ -56,7 +56,7 @@ struct grcan_config {
struct grcan_priv {
struct drvmgr_dev *dev; /* Driver manager device */
char devName[32]; /* Device Name */
char devName[52]; /* Device Name */
unsigned int baseaddr, ram_base;
struct grcan_regs *regs;
int irq;