summaryrefslogtreecommitdiffstats
path: root/bsps/shared/grlib/uart/apbuart_cons.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2023-01-27 17:44:59 -0600
committerJoel Sherrill <joel@rtems.org>2023-01-30 10:44:20 -0600
commit29a3ad1ba94d7d2614201831c9119560a1885343 (patch)
treed8311138b9274e2df4d57f37e5176a911d093e3d /bsps/shared/grlib/uart/apbuart_cons.c
parentscore: Help static analysis in thread init (diff)
downloadrtems-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.c2
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;