Changeset c4aa9cf in mainline for uspace/lib/block/libblock.c


Ignore:
Timestamp:
2011-05-31T20:33:49Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e2fe66
Parents:
f6fece9
Message:

Fix coding style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/block/libblock.c

    rf6fece9 rc4aa9cf  
    854854        }
    855855       
    856         // calculate data position and required space
     856        /* calculate data position and required space */
    857857        first_block = abs_offset / phys_block_size;
    858858        offset = abs_offset % phys_block_size;
     
    861861        buf_size = blocks * phys_block_size;
    862862       
    863         // read the data into memory
     863        /* read the data into memory */
    864864        buffer = malloc(buf_size);
    865865        if (buffer == NULL) {
     
    873873        }
    874874       
    875         // copy the data from the buffer
     875        /* copy the data from the buffer */
    876876        memcpy(data, buffer + offset, bytes);
    877877        free(buffer);
Note: See TracChangeset for help on using the changeset viewer.