Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/vfs/mtab.c

    ra35b458 r5a6cc679  
    4040#include <errno.h>
    4141#include <assert.h>
    42 #include <str.h>
    4342
    44 static void process_mp(const char *path, vfs_stat_t *stat, list_t *mtab_list)
     43static void process_mp(const char *path, struct stat *stat, list_t *mtab_list)
    4544{
    4645        mtab_ent_t *ent;
     
    5453        ent->service_id = stat->service_id;
    5554
    56         vfs_statfs_t stfs;
     55        struct statfs stfs;
    5756        if (vfs_statfs_path(path, &stfs) == EOK)
    5857                str_cpy(ent->fs_name, sizeof(ent->fs_name), stfs.fs_name);
    5958        else
    6059                str_cpy(ent->fs_name, sizeof(ent->fs_name), "?");
    61 
     60       
    6261        list_append(&ent->link, mtab_list);
    6362}
     
    7574        while ((dirent = readdir(dir)) != NULL) {
    7675                char *child;
    77                 vfs_stat_t st;
     76                struct stat st;
    7877                errno_t rc;
    7978                int ret;
     
    123122errno_t vfs_get_mtab_list(list_t *mtab_list)
    124123{
    125         vfs_stat_t st;
     124        struct stat st;
    126125
    127126        errno_t rc = vfs_stat_path("/", &st);
Note: See TracChangeset for help on using the changeset viewer.