Skip to content

Commit

Permalink
mkfs.fat: Mark struct fat32_fsinfo as packed
Browse files Browse the repository at this point in the history
  • Loading branch information
pali committed Feb 13, 2020
1 parent f8f455b commit cc75143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkfs.fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ struct fat32_fsinfo {
uint32_t next_cluster; /* Most recently allocated cluster.
* Unused under Linux. */
uint32_t reserved2[4];
};
} __attribute__ ((packed));

/* The "boot code" we put into the filesystem... it writes a message and
tells the user to try again. This "boot code" is in the public domain. */
Expand Down

0 comments on commit cc75143

Please sign in to comment.