Fixes
dhcpv6.c:141:2: error: 'strncpy' specified bound 16 equals destination size
[-Werror=stringop-truncation]
strncpy(ifr.ifr_name,
ifname, sizeof(ifr.ifr_name));
Signed-off-by
On Sat, Jun 17, 2017 at 1:29 PM, Florian Fainelli wrote:
> Le 06/17/17 à 09:38, Khem Raj a écrit :
>> Fixes
>> route.c:45:2: error: ignoring return value of 'write', declared with
>> attribute warn_unused_result [-Werror=unused-r
Fixes
route.c:45:2: error: ignoring return value of 'write', declared with attribute
warn_unused_result [-Werror=unused-result]
| write(fd, "-1", 2);
| ^~~~~~
Signed-off-by: Khem Raj
---
route.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
di
Fixes
system-linux.c:1998:33: error: comparison of unsigned expression >= 0 is always
true [-Werror,-Wtautological-compare]
Signed-off-by: Khem Raj
---
system-linux.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/system-linux.c b/system-linux.c
index 3e11bdf..ddc3