Ignore:
Timestamp:
2011-11-05T13:00:34Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45ffe9f
Parents:
72fda53
Message:

Remove the mtab_list_ent structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/mount/mount.c

    r72fda53 r8d6a41c  
    6868        get_mtab_list(&mtab_list);
    6969
    70         mtab_list_ent_t *old_ent = NULL;
     70        mtab_ent_t *old_ent = NULL;
    7171
    7272        list_foreach(mtab_list, cur) {
    73                 mtab_list_ent_t *ent = list_get_instance(cur, mtab_list_ent_t,
     73                mtab_ent_t *mtab_ent = list_get_instance(cur, mtab_ent_t,
    7474                    link);
    75 
    76                 mtab_ent_t *mtab_ent = &ent->mtab_ent;
    7775
    7876                if (old_ent)
    7977                        free(old_ent);
    8078
    81                 old_ent = ent;
     79                old_ent = mtab_ent;
    8280
    8381                printf("%s on %s ", mtab_ent->fs_name, mtab_ent->mp);
Note: See TracChangeset for help on using the changeset viewer.