mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-03 13:19:03 +00:00
CC: dhcpd.c
In function 'dhcpd_openlistener',
inlined from 'dhcpd_run.part.0' at dhcpd.c:1513:20:
dhcpd.c:1425:3: error: 'strncpy' specified bound 16 equals destination size [-Werror=stringop-truncation]
1425 | strncpy(req.ifr_name, interface, IFNAMSIZ);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| dhcpd.c | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||