Changeset 80743a1 in mainline for uspace/app/bdsh/cmds


Ignore:
Timestamp:
2017-04-01T06:49:10Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b19e892
Parents:
6e5562a
Message:

Rename (un)mount to vfs_(un)mount_path

Location:
uspace/app/bdsh/cmds/modules
Files:
2 edited

Legend:

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

    r6e5562a r80743a1  
    147147                mopts = t_argv[4];
    148148
    149         rc = mount(t_argv[1], t_argv[2], dev, mopts, 0, instance);
     149        rc = vfs_mount_path(t_argv[2], t_argv[1], dev, mopts, 0, instance);
    150150        if (rc != EOK) {
    151151                printf("Unable to mount %s filesystem to %s on %s (rc=%s)\n",
    152                     t_argv[1], t_argv[2], t_argv[3], str_error(rc));
     152                    t_argv[2], t_argv[1], t_argv[3], str_error(rc));
    153153                return CMD_FAILURE;
    154154        }
  • uspace/app/bdsh/cmds/modules/unmount/unmount.c

    r6e5562a r80743a1  
    6666        }
    6767
    68         rc = unmount(argv[1]);
     68        rc = vfs_unmount_path(argv[1]);
    6969        if (rc != EOK) {
    7070                printf("Unable to unmount %s (rc=%d)\n", argv[1], rc);
Note: See TracChangeset for help on using the changeset viewer.