Changes in uspace/lib/c/generic/vfs/vfs.c [ae7d03c:7d7bc09] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/vfs/vfs.c
rae7d03c r7d7bc09 285 285 { 286 286 size_t abs_size; 287 char *abs = vfs_absolutize(path, &abs_size);288 if ( !abs)287 char *abs_path = vfs_absolutize(path, &abs_size); 288 if (abs_path == NULL) 289 289 return ENOMEM; 290 290 291 291 int fd; 292 errno_t rc = vfs_lookup(abs , WALK_DIRECTORY, &fd);292 errno_t rc = vfs_lookup(abs_path, WALK_DIRECTORY, &fd); 293 293 if (rc != EOK) { 294 free(abs );294 free(abs_path); 295 295 return rc; 296 296 } … … 305 305 306 306 cwd_fd = fd; 307 cwd_path = abs ;307 cwd_path = abs_path; 308 308 cwd_size = abs_size; 309 309
Note:
See TracChangeset
for help on using the changeset viewer.