Author: delphij
Date: Wed Dec 18 08:08:51 2019
New Revision: 355877
URL: https://svnweb.freebsd.org/changeset/base/355877

Log:
  MFC r355317:
  
  newfs_msdos: -A is incompatible with -r, not -o.
  
  PR:           242314
  Submitted by: Guy Yur <guyyur gmail com>

Modified:
  stable/12/sbin/newfs_msdos/newfs_msdos.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/newfs_msdos/newfs_msdos.c
==============================================================================
--- stable/12/sbin/newfs_msdos/newfs_msdos.c    Wed Dec 18 06:22:28 2019        
(r355876)
+++ stable/12/sbin/newfs_msdos/newfs_msdos.c    Wed Dec 18 08:08:51 2019        
(r355877)
@@ -179,7 +179,7 @@ main(int argc, char *argv[])
     if (argc < 1 || argc > 2)
        usage();
        if (o.align) {
-               if (o.hidden_sectors_set)
+               if (o.reserved_sectors)
                    errx(1, "align (-A) is incompatible with -r");
        }
     fname = *argv++;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to