Hello, sensors_error() returns NULL if errnum is not valid. Returning "Unknown error" in this case, makes output clearer than: foo: (null) and prevents error output/logging from segmentation faults. What do you think? Andre Signed-off-by: Andre Prendel <andre_prendel at gmx.de> --- --- lm-sensors-dev/lib/error.c 2009-01-26 17:43:43.000000000 +0100 +++ my-lm-sensors/lib/error.c 2009-01-28 22:49:53.000000000 +0100 @@ -33,7 +33,7 @@ void (*sensors_fatal_error) (const char sensors_default_fatal_error; static const char *errorlist[] = { - /* Invalid error code */ NULL, + /* Invalid error code */ "Unknown error", /* SENSORS_ERR_WILDCARDS */ "Wildcard found in chip name", /* SENSORS_ERR_NO_ENTRY */ "No such subfeature known", /* SENSORS_ERR_ACCESS_R */ "Can't read",