svn commit: r290598 - stable/9/usr.sbin/makefs/ffs

Garrett Cooper ngie at FreeBSD.org
Mon Nov 9 09:24:30 UTC 2015


Author: ngie
Date: Mon Nov  9 09:24:28 2015
New Revision: 290598
URL: https://svnweb.freebsd.org/changeset/base/290598

Log:
  MFstable/10 r290597:
  
  MFC r290268:
  
  Sync minor whitespace / type changes in ffs_csum_swap and ffs_sb_swap with
  src/sys/ufs/ffs/ffs_bswap.c at 1.39
  
  Obtained from: NetBSD
  Sponsored by: EMC / Isilon Storage Division

Modified:
  stable/9/usr.sbin/makefs/ffs/ffs_bswap.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/usr.sbin/   (props changed)
  stable/9/usr.sbin/makefs/   (props changed)

Modified: stable/9/usr.sbin/makefs/ffs/ffs_bswap.c
==============================================================================
--- stable/9/usr.sbin/makefs/ffs/ffs_bswap.c	Mon Nov  9 09:23:35 2015	(r290597)
+++ stable/9/usr.sbin/makefs/ffs/ffs_bswap.c	Mon Nov  9 09:24:28 2015	(r290598)
@@ -67,7 +67,7 @@ void ffs_csumtotal_swap(struct csum_tota
 void
 ffs_sb_swap(struct fs *o, struct fs *n)
 {
-	int i;
+	size_t i;
 	u_int32_t *o32, *n32;
 
 	/*
@@ -97,7 +97,7 @@ ffs_sb_swap(struct fs *o, struct fs *n)
 	n->fs_csaddr = bswap64(o->fs_csaddr);
 	n->fs_pendingblocks = bswap64(o->fs_pendingblocks);
 	n->fs_pendinginodes = bswap32(o->fs_pendinginodes);
-	
+
 	/* These fields overlap with the second half of the
 	 * historic FS_42POSTBLFMT postbl table
 	 */
@@ -171,9 +171,9 @@ ffs_dinode2_swap(struct ufs2_dinode *o, 
 void
 ffs_csum_swap(struct csum *o, struct csum *n, int size)
 {
-	int i;
+	size_t i;
 	u_int32_t *oint, *nint;
-	
+
 	oint = (u_int32_t*)o;
 	nint = (u_int32_t*)n;
 


More information about the svn-src-stable-9 mailing list