[PATCH] fix return type of SetPowerSave()

David Zeuthen david at fubar.dk
Wed May 23 10:23:45 PDT 2007


Hi,

Sorry for the lag; been traveling,

On Thu, 2007-05-10 at 19:34 +0200, Danny Kukawka wrote:
> Hi,
> 
> The spec say about SetPowerSave() on the 
> org.freedesktop.Hal.Device.SystemPowerManagement interface the return type 
> should be integer, but in fdi/policy/10osvendor/10-power-mgmt-policy.fdi the 
> return value type get specified as boolean.
> 
> This patch change the type to Integer as the spec say and the code allow since 
> it forward the retun value of the called tool to set the mode.

Committed to HEAD and 0.5.9. Thanks.

     David




More information about the hal mailing list