diff options
author | Danny Kukawka <danny.kukawka@web.de> | 2007-05-23 13:23:03 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2007-05-23 13:23:19 -0400 |
commit | 51c47c02903a6847b2a2c1ed83cd7d5b50288236 (patch) | |
tree | 69689e8b5c3d37c3e27d1ac4ed5c08415edb86f9 | |
parent | 7b881b0ccd21697d49a637db2d5d2cef5f740a72 (diff) |
fix return type of SetPowerSave()
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.
-rw-r--r-- | fdi/policy/10osvendor/10-power-mgmt-policy.fdi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fdi/policy/10osvendor/10-power-mgmt-policy.fdi b/fdi/policy/10osvendor/10-power-mgmt-policy.fdi index ec5613fa..b3760d53 100644 --- a/fdi/policy/10osvendor/10-power-mgmt-policy.fdi +++ b/fdi/policy/10osvendor/10-power-mgmt-policy.fdi @@ -52,7 +52,7 @@ <append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths" type="strlist">hal-system-power-reboot</append> <append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_names" type="strlist">SetPowerSave</append> - <append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures" type="strlist">b</append> + <append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_signatures" type="strlist">i</append> <append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_argnames" type="strlist">enable_power_save</append> <append key="org.freedesktop.Hal.Device.SystemPowerManagement.method_execpaths" type="strlist">hal-system-power-set-power-save</append> |