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

@@ -375,7 +375,7 @@ int i2cmst_init3(struct drvmgr_dev *dev)
{
gr_i2cmst_prv_t *priv;
char prefix[32];
char devName[32];
char devName[50];
int rc;
priv = (gr_i2cmst_prv_t *)dev->priv;