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