aboutsummaryrefslogtreecommitdiffstats
path: root/fsodeviced
diff options
context:
space:
mode:
authorKlaus Kurzmann <mok@fluxnetz.de>2011-10-20 19:22:01 +0200
committerKlaus Kurzmann <mok@fluxnetz.de>2011-10-20 19:22:01 +0200
commitc98d3121f9d6794ced411c78ded38b89e43f96f8 (patch)
tree07b461bdb60a46cec25d11757770736007d590d3 /fsodeviced
parentbe97abd9eb73a9024ac60533b058d486b6618e3e (diff)
downloadcornucopia-c98d3121f9d6794ced411c78ded38b89e43f96f8.tar.gz
cornucopia-c98d3121f9d6794ced411c78ded38b89e43f96f8.tar.bz2
cornucopia-c98d3121f9d6794ced411c78ded38b89e43f96f8.zip
fsodeviced: fix sysfs path construction in gta04_powercontrol
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
Diffstat (limited to 'fsodeviced')
-rw-r--r--fsodeviced/src/plugins/gta04_powercontrol/plugin.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsodeviced/src/plugins/gta04_powercontrol/plugin.vala b/fsodeviced/src/plugins/gta04_powercontrol/plugin.vala
index 0a8cc5f5..bc6c8d16 100644
--- a/fsodeviced/src/plugins/gta04_powercontrol/plugin.vala
+++ b/fsodeviced/src/plugins/gta04_powercontrol/plugin.vala
@@ -65,7 +65,7 @@ public static string fso_factory_function( FsoFramework.Subsystem subsystem ) th
sysfs_root = config.stringValue( "cornucopia", "sysfs_root", "/sys" );
var gpio = Path.build_filename( sysfs_root, "class", "gpio" );
- var gps_gpio = Path.build_filename( gpio, "gpio145", "value");
+ var gps_gpio = Path.build_filename( gpio, "gpio145" );
if ( FsoFramework.FileHandling.isPresent( gps_gpio ) )
{
var o = new GTA04.GpioPowerControl( subsystem, gps_gpio );