summaryrefslogtreecommitdiff
path: root/procfs_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'procfs_dir.c')
-rw-r--r--procfs_dir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/procfs_dir.c b/procfs_dir.c
index f76e6a4b..bd1e49d6 100644
--- a/procfs_dir.c
+++ b/procfs_dir.c
@@ -654,6 +654,9 @@ procfs_fill_root_dir(struct procfs_dir *dir, time_t timestamp)
if ((err = procfs_create_loadavg (dir, &node, timestamp)) != 0)
return err;
+ if ((err = procfs_create_mounts (dir, &node, timestamp)) != 0)
+ return err;
+
return 0;
}