Changeset d96d9bc in mainline for uspace/app/bdsh/cmds/modules/ls/ls.c
- Timestamp:
- 2017-04-02T20:38:50Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c23275a
- Parents:
- 1e2e5795
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/ls/ls.c
r1e2e5795 rd96d9bc 34 34 #include <stdio.h> 35 35 #include <stdlib.h> 36 #include <unistd.h>37 36 #include <dirent.h> 38 37 #include <getopt.h> … … 387 386 388 387 if (argc == 0) { 389 if ( getcwd(de.name, PATH_MAX) == NULL) {388 if (vfs_cwd_get(de.name, PATH_MAX) != EOK) { 390 389 cli_error(CL_EFAIL, "%s: Failed determining working " 391 390 "directory", cmdname);
Note:
See TracChangeset
for help on using the changeset viewer.