diff options
-rw-r--r-- | src/rc/mountinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/mountinfo.c b/src/rc/mountinfo.c index 52e47f8d..3972a77a 100644 --- a/src/rc/mountinfo.c +++ b/src/rc/mountinfo.c @@ -298,7 +298,7 @@ find_mounts(struct args *args) int netdev; RC_STRINGLIST *list; - if ((fp = fopen("/proc/mounts", "r")) == NULL) + if ((fp = fopen("/proc/self/mounts", "r")) == NULL) eerrorx("getmntinfo: %s", strerror(errno)); list = rc_stringlist_new(); |