Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 28be7fa in mainline for uspace/lib/libc/generic/vfs/vfs.c


Ignore:
Timestamp:
2010-02-03T13:55:36Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
472c09d
Parents:
210e50a
Message:

cstyle changes, no change in functionality

File:
1 edited

Legend:

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

    r210e50a r28be7fa  
    120120    const char *opts, unsigned int flags)
    121121{
    122         int res;
    123         ipcarg_t rc;
    124         ipcarg_t rc_orig;
    125         aid_t req;
    126         dev_handle_t dev_handle;
    127122        int null_id = -1;
    128123        char null[DEVMAP_NAME_MAXLEN];
     
    140135        }
    141136       
    142         res = devmap_device_get_handle(fqdn, &dev_handle, flags);
     137        dev_handle_t dev_handle;
     138        int res = devmap_device_get_handle(fqdn, &dev_handle, flags);
    143139        if (res != EOK) {
    144140                if (null_id != -1)
     
    161157        vfs_connect();
    162158       
    163         req = async_send_2(vfs_phone, VFS_IN_MOUNT, dev_handle, flags, NULL);
    164         rc = async_data_write_start(vfs_phone, (void *) mpa, mpa_size);
     159        ipcarg_t rc_orig;
     160        aid_t req = async_send_2(vfs_phone, VFS_IN_MOUNT, dev_handle, flags, NULL);
     161        ipcarg_t rc = async_data_write_start(vfs_phone, (void *) mpa, mpa_size);
    165162        if (rc != EOK) {
    166163                async_wait_for(req, &rc_orig);
Note: See TracChangeset for help on using the changeset viewer.