Author: delphij
Date: Tue Dec  3 07:01:28 2019
New Revision: 355317
URL: https://svnweb.freebsd.org/changeset/base/355317

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

Modified:
  head/sbin/newfs_msdos/newfs_msdos.c

Modified: head/sbin/newfs_msdos/newfs_msdos.c
==============================================================================
--- head/sbin/newfs_msdos/newfs_msdos.c Tue Dec  3 02:30:52 2019        
(r355316)
+++ head/sbin/newfs_msdos/newfs_msdos.c Tue Dec  3 07:01:28 2019        
(r355317)
@@ -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++;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to