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

@@ -87,7 +87,7 @@ static rtems_driver_address_table b1553rt_driver = RT_DRIVER_TABLE_ENTRY;
typedef struct {
struct drvmgr_dev *dev; /* Driver manager device */
char devName[32]; /* Device Name */
char devName[52]; /* Device Name */
struct rt_reg *regs;
unsigned int ctrl_copy; /* Local copy of config register */