Changeset e1ec5a2 in mainline


Ignore:
Timestamp:
2013-09-11T22:05:58Z (11 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
332513a
Parents:
758f8d5
Message:

df: fix call to list_foreach()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/df/df.c

    r758f8d5 re1ec5a2  
    119119        get_mtab_list(&mtab_list);
    120120        print_header();
    121         list_foreach(mtab_list, cur) {
    122                 mtab_ent_t *mtab_ent = list_get_instance(cur, mtab_ent_t,
    123                     link);
     121        list_foreach(mtab_list, link, mtab_ent_t, mtab_ent) {
    124122                statfs(mtab_ent->mp, &st);
    125123                print_statfs(&st, mtab_ent->fs_name, mtab_ent->mp);
Note: See TracChangeset for help on using the changeset viewer.