aboutsummaryrefslogtreecommitdiff
path: root/sbin/newfs_msdos
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2020-01-28 20:10:26 +0000
committerDimitry Andric <dim@FreeBSD.org>2020-01-28 20:10:26 +0000
commite54f2950a653595a2496c326f7dfe2e51972228d (patch)
tree1081175fbd5aa6b1388a3463f96926b516a73c11 /sbin/newfs_msdos
parent62b61cee41217cc4b5d2861ada221f048ec81fd8 (diff)
downloadsrc-e54f2950a653595a2496c326f7dfe2e51972228d.tar.gz
src-e54f2950a653595a2496c326f7dfe2e51972228d.zip
Notes
Diffstat (limited to 'sbin/newfs_msdos')
-rw-r--r--sbin/newfs_msdos/newfs_msdos.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/newfs_msdos/newfs_msdos.c b/sbin/newfs_msdos/newfs_msdos.c
index c299a1472fa2..bac250e7dd05 100644
--- a/sbin/newfs_msdos/newfs_msdos.c
+++ b/sbin/newfs_msdos/newfs_msdos.c
@@ -178,10 +178,10 @@ main(int argc, char *argv[])
argv += optind;
if (argc < 1 || argc > 2)
usage();
- if (o.align) {
- if (o.reserved_sectors)
- errx(1, "align (-A) is incompatible with -r");
- }
+ if (o.align) {
+ if (o.reserved_sectors)
+ errx(1, "align (-A) is incompatible with -r");
+ }
fname = *argv++;
if (!o.create_size && !strchr(fname, '/')) {
snprintf(buf, sizeof(buf), "%s%s", _PATH_DEV, fname);