mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
arch: cxd56xx: hostif: Remove -Wformat-truncation warnings
Remove -Wformat-truncation warnings in cxd56_hostif.c.
This commit is contained in:
committed by
Petro Karashchenko
parent
52cbfcf3bd
commit
2060f7be60
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user