svn commit: r298680 - head/sbin/fsck_ffs

Pedro F. Giffuni pfg at FreeBSD.org
Wed Apr 27 01:36:27 UTC 2016


Author: pfg
Date: Wed Apr 27 01:36:25 2016
New Revision: 298680
URL: https://svnweb.freebsd.org/changeset/base/298680

Log:
  fsck_ffs: Revert partially the unsigned changes.
  
  Any value of uint16_t will be internally promoted to int so
  changing them to an unsigned value doesn't help.
  
  Missing revert value in suj_read().
  
  X-MFC with:	r298551

Modified:
  head/sbin/fsck_ffs/suj.c

Modified: head/sbin/fsck_ffs/suj.c
==============================================================================
--- head/sbin/fsck_ffs/suj.c	Wed Apr 27 01:32:11 2016	(r298679)
+++ head/sbin/fsck_ffs/suj.c	Wed Apr 27 01:36:25 2016	(r298680)
@@ -2543,7 +2543,7 @@ suj_read(void)
 	int blocks;
 	int recsize;
 	int size;
-	u_int i;
+	int i;
 
 	/*
 	 * Read records until we exhaust the journal space.  If we find


More information about the svn-src-all mailing list