diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c index 58b71e9c6..d7e3511aa 100644 --- a/gio/gunixmounts.c +++ b/gio/gunixmounts.c @@ -391,11 +391,7 @@ _g_get_unix_mounts (void) GList *return_list = NULL; ctxt = mnt_new_context (); - mnt_context_get_table (ctxt, PROC_MOUNTINFO_PATH, &table); - if (!table) - mnt_context_get_mtab (ctxt, &table); - - /* Not much to do if neither mountinfo nor mtab are available */ + mnt_context_get_mtab (ctxt, &table); if (!table) return NULL;