diff options
Diffstat (limited to 'lib/getmountlist.c')
-rw-r--r-- | lib/getmountlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/getmountlist.c b/lib/getmountlist.c index efbcff13..372398ba 100644 --- a/lib/getmountlist.c +++ b/lib/getmountlist.c @@ -38,5 +38,6 @@ struct mtab_list *getmountlist(int die) mtlist = mt; } } + endmntent(fp); return mtlist; } |