svn commit: r298765 - stable/9/sbin/fsck_ffs

2016-04-28 Thread Pedro F. Giffuni
Author: pfg Date: Fri Apr 29 03:06:42 2016 New Revision: 298765 URL: https://svnweb.freebsd.org/changeset/base/298765 Log: MFC r298551, r298679, r298680: fsck_ffs: use uint32_t for closedisk(). fs_ncg is of type uint32_t, and we were indexing it with an int. Fixed this using an unsigned

svn commit: r298767 - stable/9/bin/ed

2016-04-28 Thread Pedro F. Giffuni
Author: pfg Date: Fri Apr 29 03:13:18 2016 New Revision: 298767 URL: https://svnweb.freebsd.org/changeset/base/298767 Log: MFC r298640: ed(1): switch two statements so we check the index before dereferencing. Modified: stable/9/bin/ed/cbc.c Directory Properties: stable/9/bin/ed/ (props