Changes in uspace/app/bdsh/cmds/modules/mount/mount.c [9d58539:6afc9d7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/mount/mount.c
r9d58539 r6afc9d7 72 72 int rc; 73 73 74 get_mtab_list(&mtab_list);74 vfs_get_mtab_list(&mtab_list); 75 75 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) { 80 77 if (old_ent) 81 78 free(old_ent); … … 120 117 argc = cli_count_args(argv); 121 118 122 for (c = 0, opt ind = 0, opt_ind = 0; c != -1;) {119 for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) { 123 120 c = getopt_long(argc, argv, "i:h", long_options, &opt_ind); 124 121 switch (c) { … … 153 150 mopts = t_argv[4]; 154 151 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); 156 153 if (rc != EOK) { 157 154 printf("Unable to mount %s filesystem to %s on %s (rc=%d)\n",
Note:
See TracChangeset
for help on using the changeset viewer.