Skip to content
Snippets Groups Projects
Unverified Commit 6b0c34fa authored by Martine Lenders's avatar Martine Lenders Committed by GitHub
Browse files

Merge pull request #9765 from gebart/pr/sprintf-len

tests/gnrc_netif: Fix -Wformat-overflow
parents 67e3b3a8 556d06d3
No related branches found
No related tags found
No related merge requests found
......@@ -1043,7 +1043,7 @@ static void test_netif_iter(void)
static void test_netif_get_name(void)
{
char exp_name[NETIF_NAMELENMAX];
char exp_name[NETIF_NAMELENMAX + 1];
char name[NETIF_NAMELENMAX];
int res;
netif_t netif = netif_iter(NETIF_INVALID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment