From 2060f7be60a39e97d3528ae8bc6feac8506d7653 Mon Sep 17 00:00:00 2001 From: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com> Date: Thu, 20 Oct 2022 22:30:37 +0900 Subject: [PATCH] arch: cxd56xx: hostif: Remove -Wformat-truncation warnings Remove -Wformat-truncation warnings in cxd56_hostif.c. --- arch/arm/src/cxd56xx/cxd56_hostif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/cxd56xx/cxd56_hostif.c b/arch/arm/src/cxd56xx/cxd56_hostif.c index 087c1587f5..ccb998185a 100644 --- a/arch/arm/src/cxd56xx/cxd56_hostif.c +++ b/arch/arm/src/cxd56xx/cxd56_hostif.c @@ -371,7 +371,7 @@ static int hif_initialize(struct hostif_buff_s *buffer) { struct cxd56_hifdrv_s *drv = &g_hifdrv; struct cxd56_hifdev_s *priv; - char devpath[16]; + char devpath[32]; int num; int ret; @@ -576,7 +576,7 @@ int hostif_uninitialize(void) { struct cxd56_hifdrv_s *drv = &g_hifdrv; struct cxd56_hifdev_s *priv; - char devpath[16]; + char devpath[32]; int num; for (num = 0; num < drv->ndev; num++)