summaryrefslogtreecommitdiff
path: root/lib/libgeom/geom_getxml.c
Commit message (Collapse)AuthorAgeFilesLines
* Second call of sysctl() is used to gather a proper size of a memory chunkWojciech A. Koszek2007-05-011-1/+1
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=169162
* Leak more stuff into libgeom.Poul-Henning Kamp2003-02-101-0/+66
Notes: svn path=/head/; revision=110603