freebsd-dev/sbin/geom
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
..
class Add gpart(8). 2007-05-15 20:25:18 +00:00
core Fix the construction of the gctl_req that got broken by my 2007-05-17 15:34:51 +00:00
misc Implement gctl_change_param() function, which changes value of existing 2007-01-25 11:35:27 +00:00
Makefile
Makefile.inc Don't use version number in library name. The library version is checked 2004-08-02 09:05:29 +00:00