aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/powercap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powercap.c b/src/powercap.c
index 5e58076..31d7f5f 100644
--- a/src/powercap.c
+++ b/src/powercap.c
@@ -124,7 +124,7 @@ int powercap_control_type_file_open(powercap_control_type* control, powercap_con
if (control) {
switch (type) {
case POWERCAP_CONTROL_TYPE_FILE_ENABLED:
- control->enabled = fd;;
+ control->enabled = fd;
break;
default:
// unreachable