[PATCH] Abort powerd when no cpufreq(4) support is found

Robert Millan rmh at freebsd.org
Mon Apr 9 16:51:57 UTC 2012


Hi Nate,

El 9 d’abril de 2012 18:06, Nate Lawson <nate at root.org> ha escrit:
> The message is fine, but I think an error code of 0 is wrong. Powerd didn't start, whereas 0 means the daemon launched successfully.

In that case, may I suggest that we return one of the error codes
recommended by sysexists(3)?  EX_UNAVAILABLE seems close enough to the
reason we're aborting.

-- 
Robert Millan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_cpufreq.diff
Type: application/octet-stream
Size: 653 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20120409/fde53ce9/no_cpufreq.obj


More information about the freebsd-acpi mailing list