summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech A. Koszek <wkoszek@FreeBSD.org>2007-05-01 10:47:09 +0000
committerWojciech A. Koszek <wkoszek@FreeBSD.org>2007-05-01 10:47:09 +0000
commit0eedd05b1903546a185d96e978c055df29012cd9 (patch)
tree54f3a1f1be423e24c618b1618c71e033d84744a4
parentfa75abb0d27c5d92921d711b83882a25c2e94373 (diff)
downloadsrc-test2-0eedd05b1903546a185d96e978c055df29012cd9.tar.gz
src-test2-0eedd05b1903546a185d96e978c055df29012cd9.zip
Notes
-rw-r--r--lib/libgeom/geom_getxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libgeom/geom_getxml.c b/lib/libgeom/geom_getxml.c
index fbc9cb876c9b..68ff91bcf14f 100644
--- a/lib/libgeom/geom_getxml.c
+++ b/lib/libgeom/geom_getxml.c
@@ -53,7 +53,7 @@ geom_getxml()
free(p);
}
l = 0;
- i = sysctlbyname("kern.geom.confxml", p, &l, NULL, 0);
+ i = sysctlbyname("kern.geom.confxml", NULL, &l, NULL, 0);
if (i != 0)
return (NULL);
p = malloc(l + 4096);