mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
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:
parent
d69c5c1d1d
commit
d44ae92a69
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248279
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user