Changeset 7d7bc09 in mainline for uspace/lib/c/generic/vfs/vfs.c


Ignore:
Timestamp:
2018-06-20T18:58:11Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
777832e
Parents:
3bd1d7d4
Message:

abs, labs, llabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/vfs/vfs.c

    r3bd1d7d4 r7d7bc09  
    285285{
    286286        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)
    289289                return ENOMEM;
    290290
    291291        int fd;
    292         errno_t rc = vfs_lookup(abs, WALK_DIRECTORY, &fd);
     292        errno_t rc = vfs_lookup(abs_path, WALK_DIRECTORY, &fd);
    293293        if (rc != EOK) {
    294                 free(abs);
     294                free(abs_path);
    295295                return rc;
    296296        }
     
    305305
    306306        cwd_fd = fd;
    307         cwd_path = abs;
     307        cwd_path = abs_path;
    308308        cwd_size = abs_size;
    309309
Note: See TracChangeset for help on using the changeset viewer.