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