Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/util-linux/volume_id/ntfs.c

    r2725 r3232  
    133133
    134134    buf = volume_id_get_buffer(id, off + mft_off + (MFT_RECORD_VOLUME * mft_record_size),
    135              mft_record_size);
     135            mft_record_size);
    136136    if (buf == NULL)
    137137        goto found;
     
    151151        attr = (struct file_attribute*) &buf[attr_off];
    152152        attr_type = le32_to_cpu(attr->type);
    153         attr_len = le16_to_cpu(attr->len);
     153        attr_len = le32_to_cpu(attr->len);
    154154        val_off = le16_to_cpu(attr->value_offset);
    155155        val_len = le32_to_cpu(attr->value_len);
     
    166166
    167167        dbg("found attribute type 0x%x, len %i, at offset %i",
    168             attr_type, attr_len, attr_off);
     168            attr_type, attr_len, attr_off);
    169169
    170170//      if (attr_type == MFT_RECORD_ATTR_VOLUME_INFO) {
     
    189189 found:
    190190//  volume_id_set_usage(id, VOLUME_ID_FILESYSTEM);
    191 //  id->type = "ntfs";
     191    IF_FEATURE_BLKID_TYPE(id->type = "ntfs";)
    192192
    193193    return 0;
Note: See TracChangeset for help on using the changeset viewer.