Ignore:
File:
1 edited

Legend:

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

    r5a6cc679 ra35b458  
    4040#include <errno.h>
    4141#include <assert.h>
     42#include <str.h>
    4243
    43 static void process_mp(const char *path, struct stat *stat, list_t *mtab_list)
     44static void process_mp(const char *path, vfs_stat_t *stat, list_t *mtab_list)
    4445{
    4546        mtab_ent_t *ent;
     
    5354        ent->service_id = stat->service_id;
    5455
    55         struct statfs stfs;
     56        vfs_statfs_t stfs;
    5657        if (vfs_statfs_path(path, &stfs) == EOK)
    5758                str_cpy(ent->fs_name, sizeof(ent->fs_name), stfs.fs_name);
    5859        else
    5960                str_cpy(ent->fs_name, sizeof(ent->fs_name), "?");
    60        
     61
    6162        list_append(&ent->link, mtab_list);
    6263}
     
    7475        while ((dirent = readdir(dir)) != NULL) {
    7576                char *child;
    76                 struct stat st;
     77                vfs_stat_t st;
    7778                errno_t rc;
    7879                int ret;
     
    122123errno_t vfs_get_mtab_list(list_t *mtab_list)
    123124{
    124         struct stat st;
     125        vfs_stat_t st;
    125126
    126127        errno_t rc = vfs_stat_path("/", &st);
Note: See TracChangeset for help on using the changeset viewer.