freebsd-skq/sbin/fsck_ffs
Pedro F. Giffuni f671769766 fsck_ffs: Unsign some variables and make use of reallocarray(3).
Instead of casting listmax and numdirs to unsigned values just define
them as unsigned and avoid the casts. Use reallocarray(3).

While here, fs_ncg is already unsigned so the cast is unnecessary.

Reviewed by:	mckusick
MFC after:	2 weeks
2017-04-22 14:50:11 +00:00
..
dir.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ea.c UFS2: make di_extsize unsigned. 2013-10-24 00:33:29 +00:00
fsck_ffs.8 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fsck.h fsck_ffs: Unsign some variables and make use of reallocarray(3). 2017-04-22 14:50:11 +00:00
fsutil.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
gjournal.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
globs.c fsck_ffs: Unsign some variables and make use of reallocarray(3). 2017-04-22 14:50:11 +00:00
inode.c fsck_ffs: Unsign some variables and make use of reallocarray(3). 2017-04-22 14:50:11 +00:00
main.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
Makefile sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:33:01 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
pass1.c In fsck_ffs pass1, prevent the inosused variable from wrapping. 2017-04-14 15:22:00 +00:00
pass1b.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pass2.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pass3.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pass4.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pass5.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
setup.c fsck_ffs: Unsign some variables and make use of reallocarray(3). 2017-04-22 14:50:11 +00:00
suj.c prefix UFS symbols with UFS_ to reduce namespace pollution 2017-02-15 19:50:26 +00:00
utilities.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00