summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2018-02-06 22:15:53 +0100
committernorly <ny-git@enpas.org>2018-02-06 22:15:53 +0100
commit6abdf5b4aaa61144f2e97631e2486a02bd07e263 (patch)
treeaafbc23a2cef64601c6ae017959fbf8b7750f38c
parent595d73bdbece9274f8d7fdbdb9346745cf9c41ea (diff)
net: More space for longer interface names
-rw-r--r--src/status/netif.c2
1 files changed, 1 insertions, 1 deletions
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;