#
169162 |
|
01-May-2007 |
wkoszek |
Second call of sysctl() is used to gather a proper size of a memory chunk needed to hold the GEOM tree. At this point, pointer 'p' has an improper value (as it was used previously), and we're getting EFAULT. Fix this functionality by passing NULL instead of 'p'.
This fixes mdconfig(8) -l output with high number of md(4) devices.
Found by: kris Reviewed by: phk
|