Changeset 6afc9d7 in mainline for uspace/app/bdsh/cmds/modules/pwd/pwd.c
- Timestamp:
- 2015-10-06T19:01:36Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0328987
- Parents:
- f1f7584
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/pwd/pwd.c
rf1f7584 r6afc9d7 56 56 57 57 memset(buff, 0, PATH_MAX); 58 getcwd(buff, PATH_MAX);59 58 60 if ( ! buff) {59 if (getcwd(buff, PATH_MAX) == NULL) { 61 60 cli_error(CL_EFAIL, 62 61 "Unable to determine the current working directory");
Note:
See TracChangeset
for help on using the changeset viewer.