1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00
freebsd/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
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
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
utilities.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00