Changeset d5e2763 in mainline for uspace/lib/ext2/libext2.c


Ignore:
Timestamp:
2011-02-12T16:17:00Z (14 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36bca8eb
Parents:
d3842e0
Message:

Add very basic program to show ext2 information (only superblock magic currently)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext2/libext2.c

    rd3842e0 rd5e2763  
    3838#include <errno.h>
    3939
     40inline uint16_t ext2_superblock_get_magic(ext2_superblock_t *superblock) {
     41        return uint16_t_le2host(superblock->magic);
     42}
     43
    4044/** @}
    4145 */
Note: See TracChangeset for help on using the changeset viewer.