Author: delphij
Date: Sun Feb  2 20:53:31 2020
New Revision: 357421
URL: https://svnweb.freebsd.org/changeset/base/357421

Log:
  Diff reduction against NetBSD, no functional change.
  
  MFC after:    1 week

Modified:
  head/sbin/fsck_msdosfs/boot.c

Modified: head/sbin/fsck_msdosfs/boot.c
==============================================================================
--- head/sbin/fsck_msdosfs/boot.c       Sun Feb  2 20:51:28 2020        
(r357420)
+++ head/sbin/fsck_msdosfs/boot.c       Sun Feb  2 20:53:31 2020        
(r357421)
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: boot.c,v 1.21 2018/02/08 09:05:17 dholland Exp $");
+__RCSID("$NetBSD: boot.c,v 1.22 2020/01/11 16:29:07 christos Exp $");
 static const char rcsid[] =
   "$FreeBSD$";
 #endif /* not lint */
@@ -267,10 +267,11 @@ readboot(int dosfs, struct bootblock *boot)
        }
 
        /*
-        * The number of clusters is derived from available data sectors, 
divided
-        * by sectors per cluster.
+        * The number of clusters is derived from available data sectors,
+        * divided by sectors per cluster.
         */
-       boot->NumClusters = (boot->NumSectors - boot->FirstCluster) / 
boot->bpbSecPerClust;
+       boot->NumClusters =
+           (boot->NumSectors - boot->FirstCluster) / boot->bpbSecPerClust;
 
        if (boot->flags & FAT32) {
                if (boot->NumClusters > (CLUST_RSRVD & CLUST32_MASK)) {
@@ -320,8 +321,8 @@ readboot(int dosfs, struct bootblock *boot)
        }
 
        /*
-        * There are two reserved clusters.  To avoid adding CLUST_FIRST every 
time
-        * when we perform boundary checks, we increment the NumClusters by 2,
+        * There are two reserved clusters. To avoid adding CLUST_FIRST every
+        * time we perform boundary checks, we increment the NumClusters by 2,
         * which is CLUST_FIRST to denote the first out-of-range cluster number.
         */
        boot->NumClusters += CLUST_FIRST;
_______________________________________________
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