diff options
author | Joel Sherrill <joel@rtems.org> | 2023-01-27 17:44:59 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2023-01-30 10:44:20 -0600 |
commit | 29a3ad1ba94d7d2614201831c9119560a1885343 (patch) | |
tree | d8311138b9274e2df4d57f37e5176a911d093e3d /bsps/shared/grlib/uart/apbuart_cons.c | |
parent | score: Help static analysis in thread init (diff) | |
download | rtems-29a3ad1ba94d7d2614201831c9119560a1885343.tar.bz2 |
grlib: Fix snprintf() overflow warnings from gcc 12
Updates #4662.
Diffstat (limited to '')
-rw-r--r-- | bsps/shared/grlib/uart/apbuart_cons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/shared/grlib/uart/apbuart_cons.c b/bsps/shared/grlib/uart/apbuart_cons.c index e5f41f4ca2..5d47b7f4a1 100644 --- a/bsps/shared/grlib/uart/apbuart_cons.c +++ b/bsps/shared/grlib/uart/apbuart_cons.c @@ -76,7 +76,7 @@ struct apbuart_priv { struct drvmgr_dev *dev; struct apbuart_regs *regs; struct rtems_termios_tty *tty; - char devName[32]; + char devName[52]; volatile int sending; int mode; int cap; |