Author: delphij
Date: Thu Mar 14 20:05:49 2013
New Revision: 248279
URL: http://svnweb.freebsd.org/changeset/base/248279
Log:
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
Modified:
head/sbin/recoverdisk/recoverdisk.c
Modified: head/sbin/recoverdisk/recoverdisk.c
==============================================================================
--- head/sbin/recoverdisk/recoverdisk.c Thu Mar 14 19:56:21 2013
(r248278)
+++ head/sbin/recoverdisk/recoverdisk.c Thu Mar 14 20:05:49 2013
(r248279)
@@ -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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"