Changeset 6afc9d7 in mainline for uspace/lib/c/generic/loader.c
- Timestamp:
- 2015-10-06T19:01:36Z (9 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/lib/c/generic/loader.c
rf1f7584 r6afc9d7 124 124 return ENOMEM; 125 125 126 if ( !getcwd(cwd, MAX_PATH_LEN + 1))126 if (getcwd(cwd, MAX_PATH_LEN + 1) == NULL) 127 127 str_cpy(cwd, MAX_PATH_LEN + 1, "/"); 128 128 … … 162 162 { 163 163 size_t pa_len; 164 char *pa = absolutize(path, &pa_len);164 char *pa = vfs_absolutize(path, &pa_len); 165 165 if (!pa) 166 166 return ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.