Ignore:
File:
1 edited

Legend:

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

    r9d58539 r6afc9d7  
    7272        int rc;
    7373
    74         get_mtab_list(&mtab_list);
     74        vfs_get_mtab_list(&mtab_list);
    7575
    76         list_foreach(mtab_list, cur) {
    77                 mtab_ent_t *mtab_ent = list_get_instance(cur, mtab_ent_t,
    78                     link);
    79 
     76        list_foreach(mtab_list, link, mtab_ent_t, mtab_ent) {
    8077                if (old_ent)
    8178                        free(old_ent);
     
    120117        argc = cli_count_args(argv);
    121118
    122         for (c = 0, optind = 0, opt_ind = 0; c != -1;) {
     119        for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) {
    123120                c = getopt_long(argc, argv, "i:h", long_options, &opt_ind);
    124121                switch (c) {
     
    153150                mopts = t_argv[4];
    154151
    155         rc = mount(t_argv[1], t_argv[2], dev, mopts, 0, instance);
     152        rc = vfs_mount(t_argv[1], t_argv[2], dev, mopts, 0, instance);
    156153        if (rc != EOK) {
    157154                printf("Unable to mount %s filesystem to %s on %s (rc=%d)\n",
Note: See TracChangeset for help on using the changeset viewer.