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:
delphij 2013-03-14 20:05:49 +00:00
parent 01ed3a9ee0
commit 4824f82537

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;