Change the 'amt' parameter in format_k2 from int to unsigned long long

to match the values passed in and prevent the SIZE field being corrupted
when more than 2TB is allocated.

PR:		bin/129706
Approved by:	rrs (mentor)
MFC after:	1 week
This commit is contained in:
Rebecca Cran 2010-03-13 11:17:39 +00:00
parent f2359a2473
commit e9db446223

View File

@ -476,7 +476,7 @@ int amt;
char *format_k2(amt)
int amt;
unsigned long long amt;
{
static char retarray[NUM_STRINGS][16];