Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* in update_short_entry, replace this: */
- *sizeptr = htole32(size);
- /* by this */
- if(size != -1)
- *sizeptr = htole32(size);
- void fat_set_volume_id(struct fat_file *file)
- {
- update_short_entry(file, -1, FAT_ATTR_VOLUME_ID | FAT_ATTR_DIRECTORY)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement