aboutsummaryrefslogtreecommitdiff
path: root/sbin/newfs_msdos/mkfs_msdos.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2018-07-16 04:06:34 +0000
committerXin LI <delphij@FreeBSD.org>2018-07-16 04:06:34 +0000
commit1e079253f4085361657b96e6688b251c152643cc (patch)
treed5dc036a2ae8c8f3e43b750e8ec80307daa2d09c /sbin/newfs_msdos/mkfs_msdos.h
parent588c63e9e33fc1d1e434b825bdaaab6faf3715e3 (diff)
downloadsrc-1e079253f4085361657b96e6688b251c152643cc.tar.gz
src-1e079253f4085361657b96e6688b251c152643cc.zip
MFC r335189:
Notes
Notes: svn path=/stable/11/; revision=336329
Diffstat (limited to 'sbin/newfs_msdos/mkfs_msdos.h')
-rw-r--r--sbin/newfs_msdos/mkfs_msdos.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/newfs_msdos/mkfs_msdos.h b/sbin/newfs_msdos/mkfs_msdos.h
index 2f5d7dcb12af..7e0c6622c8b7 100644
--- a/sbin/newfs_msdos/mkfs_msdos.h
+++ b/sbin/newfs_msdos/mkfs_msdos.h
@@ -34,6 +34,7 @@
#include <stdbool.h>
#define ALLOPTS \
AOPT('@', off_t, offset, 0, "Offset in device") \
+AOPT('A', bool, align, -2, "Attempt to cluster align root directory") \
AOPT('B', const char *, bootstrap, -1, "Bootstrap file") \
AOPT('C', off_t, create_size, 0, "Create file") \
AOPT('F', uint8_t, fat_type, 12, "FAT type (12, 16, or 32)") \
@@ -61,7 +62,7 @@ AOPT('u', uint16_t, sectors_per_track, 1, "Sectors per track")
struct msdos_options {
#define AOPT(_opt, _type, _name, _min, _desc) _type _name;
ALLOPTS
-#undef AOPT
+#undef AOPT
uint32_t timestamp_set:1;
uint32_t volume_id_set:1;
uint32_t media_descriptor_set:1;