Changeset 5a6cc679 in mainline for uspace/app/bdsh/exec.c
- Timestamp:
- 2018-01-31T02:21:24Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a0a9cc2
- Parents:
- 132ab5d1
- File:
-
- 1 edited
-
uspace/app/bdsh/exec.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/exec.c
r132ab5d1 r5a6cc679 58 58 int fd; 59 59 60 int rc = vfs_lookup_open(f, WALK_REGULAR, MODE_READ, &fd);60 errno_t rc = vfs_lookup_open(f, WALK_REGULAR, MODE_READ, &fd); 61 61 if (rc == EOK) { 62 62 vfs_put(fd); … … 98 98 task_exit_t texit; 99 99 char *tmp; 100 int rc;100 errno_t rc; 101 101 int retval, i; 102 102 int file_handles[3] = { -1, -1, -1 }; … … 118 118 free(tmp); 119 119 120 if (rc != 0) {120 if (rc != EOK) { 121 121 cli_error(CL_EEXEC, "%s: Cannot spawn `%s' (%s)", progname, cmd, 122 122 str_error(rc));
Note:
See TracChangeset
for help on using the changeset viewer.
