Changeset b5b5d84 in mainline for uspace/app/df/df.c


Ignore:
Timestamp:
2017-03-30T18:58:28Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
23a0368
Parents:
fe91f66
Message:

Rename statfs() to vfs_statfs_path() and provide relativized vfs_statfs()

File:
1 edited

Legend:

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

    rfe91f66 rb5b5d84  
    4040#include <stdint.h>
    4141#include <getopt.h>
    42 #include <sys/statfs.h>
    4342#include <errno.h>
    4443#include <adt/list.h>
     
    124123        print_header();
    125124        list_foreach(mtab_list, link, mtab_ent_t, mtab_ent) {
    126                 if (statfs(mtab_ent->mp, &st) == 0) {
     125                if (vfs_statfs_path(mtab_ent->mp, &st) == 0) {
    127126                        print_statfs(&st, mtab_ent->fs_name, mtab_ent->mp);
    128127                } else {
Note: See TracChangeset for help on using the changeset viewer.