Ignore:
File:
1 edited

Legend:

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

    r6afc9d7 r445e7c0  
    5656
    5757        memset(buff, 0, PATH_MAX);
     58        getcwd(buff, PATH_MAX);
    5859
    59         if (getcwd(buff, PATH_MAX) == NULL) {
     60        if (! buff) {
    6061                cli_error(CL_EFAIL,
    6162                        "Unable to determine the current working directory");
Note: See TracChangeset for help on using the changeset viewer.