[PATCH] fix return type of SetPowerSave()

Danny Kukawka danny.kukawka at web.de
Thu May 10 10:34:20 PDT 2007


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.

Danny

 10-power-mgmt-policy.fdi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-SetPowerSave.diff
Type: text/x-diff
Size: 1021 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070510/85769f3a/attachment.diff 


More information about the hal mailing list