mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
556d06d3bf
Fixes the following error with GCC 7 main.c: In function 'test_netif_get_name': main.c:1054:23: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=] sprintf(exp_name, "if%d", (int)netif); ^~~~~~ main.c:1054:5: note: 'sprintf' output between 4 and 9 bytes into a destination of size 8 sprintf(exp_name, "if%d", (int)netif); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
---|---|---|
.. | ||
tests | ||
common.c | ||
common.h | ||
main.c | ||
Makefile |