collectd/collectd — pull request #126 by octo (2012-09-06 14:15:51+00:00)
Title: src/common.c: get_kstat_value: Check the arguments and return error codes.

Rather than asserting that an argument is not NULL, check this condition
and return an error code.

This should fix Github issue #71.