Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/builtins/cd/cd.c

    rb7fd2a0 rd96d9bc  
    5151static bool previous_directory_set = false;
    5252
    53 static errno_t chdir_and_remember(const char *new_dir)
     53static int chdir_and_remember(const char *new_dir)
    5454{
    5555
    56         errno_t rc = vfs_cwd_get(previous_directory_tmp, PATH_MAX);
     56        int rc = vfs_cwd_get(previous_directory_tmp, PATH_MAX);
    5757        previous_directory_valid = (rc == EOK);
    5858        previous_directory_set = true;
     
    8585int cmd_cd(char **argv, cliuser_t *usr)
    8686{
    87         int argc;
    88         errno_t rc = EOK;
     87        int argc, rc = 0;
    8988
    9089        argc = cli_count_args(argv);
Note: See TracChangeset for help on using the changeset viewer.