freebsd-dev/sbin/geom/core
Marcel Moolenaar cf805fab87 Fix the construction of the gctl_req that got broken by my
previous commit and that introduced optional parameters.
Existing classes (like geli(8)) use empty strings by default
and expect the parameter to be passed to the kernel as such.
Also, the default value of a string argument can be NULL.
Fix both cases by making the optional parameter conditional
upon gc_argname being set and making sure to test for NULL
before dereferencing the pointer.

Reported by: brueffer@
2007-05-17 15:34:51 +00:00
..
geom.8 Add a reference to geli(8). 2006-01-29 00:32:40 +00:00
geom.c Fix the construction of the gctl_req that got broken by my 2007-05-17 15:34:51 +00:00
geom.h Bump G_LIB_VERSION to reflect the ABI change. 2007-05-16 23:32:40 +00:00
Makefile NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00