Correct type for DIOCGSTRIPESIZE. Without this there

would be a stack overflow which will crash the program
later.

PR:		bin/176953
Submitted by:	r4721 tormail org
MFC after:	3 days
This commit is contained in:
Xin LI 2013-03-14 20:05:49 +00:00
parent d69c5c1d1d
commit d44ae92a69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248279

View File

@ -156,7 +156,7 @@ main(int argc, char * const argv[])
int error, state;
u_char *buf;
u_int sectorsize;
u_int stripesize;
off_t stripesize;
time_t t1, t2;
struct stat sb;
u_int n, snapshot = 60;