aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/mountinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc/mountinfo.c b/src/rc/mountinfo.c
index 53f2890b..3f1dfb60 100644
--- a/src/rc/mountinfo.c
+++ b/src/rc/mountinfo.c
@@ -305,6 +305,7 @@ find_mounts(struct args *args)
buffer = xmalloc(sizeof(char) * PATH_MAX * 3);
while (fgets(buffer, PATH_MAX * 3, fp)) {
+ netdev = -1;
p = buffer;
from = strsep(&p, " ");
to = strsep(&p, " ");