mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
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 type. Reviewed by: mckusick
This commit is contained in:
parent
e0781963ef
commit
b17c529ec8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=298764
@ -217,7 +217,7 @@ static void
|
||||
closedisk(const char *devnam)
|
||||
{
|
||||
struct csum *cgsum;
|
||||
int i;
|
||||
uint32_t i;
|
||||
|
||||
/*
|
||||
* Recompute the fs summary info from correct cs summaries.
|
||||
|
Loading…
Reference in New Issue
Block a user