From: norly Date: Tue, 6 Feb 2018 21:15:53 +0000 (+0100) Subject: net: More space for longer interface names X-Git-Url: https://git.enpas.org/?p=sysstatus.git;a=commitdiff_plain;h=6abdf5b4aaa61144f2e97631e2486a02bd07e263 net: More space for longer interface names --- diff --git a/src/status/netif.c b/src/status/netif.c index e760b4c..6e12191 100644 --- a/src/status/netif.c +++ b/src/status/netif.c @@ -15,7 +15,7 @@ void status_netif(GlobalData *g, char *ifname) { StatusItem s; - char text[16] = { 0 }; + char text[20] = { 0 }; char ifpath[256]; int ifpathlen;