Changeset d96d9bc in mainline for uspace/app/bdsh/cmds/modules/mkdir


Ignore:
Timestamp:
2017-04-02T20:38:50Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c23275a
Parents:
1e2e5795
Message:

Rename chdir() to vfs_cwd_set() and getcwd() to vfs_cwd_get()

File:
1 edited

Legend:

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

    r1e2e5795 rd96d9bc  
    208208
    209209        if (follow && (argv[optind] != NULL)) {
    210                 if (chdir(argv[optind]) != 0)
     210                if (vfs_cwd_set(argv[optind]) != EOK)
    211211                        printf("%s: Error switching to directory.", cmdname);
    212212        }
Note: See TracChangeset for help on using the changeset viewer.