summaryrefslogtreecommitdiffstats
path: root/collectors/debugfs.plugin/sys_devices_virtual_powercap.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-03-09 13:19:22 +0000
commitc21c3b0befeb46a51b6bf3758ffa30813bea0ff0 (patch)
tree9754ff1ca740f6346cf8483ec915d4054bc5da2d /collectors/debugfs.plugin/sys_devices_virtual_powercap.c
parentAdding upstream version 1.43.2. (diff)
downloadnetdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.tar.xz
netdata-c21c3b0befeb46a51b6bf3758ffa30813bea0ff0.zip
Adding upstream version 1.44.3.upstream/1.44.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/debugfs.plugin/sys_devices_virtual_powercap.c')
-rw-r--r--collectors/debugfs.plugin/sys_devices_virtual_powercap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/debugfs.plugin/sys_devices_virtual_powercap.c b/collectors/debugfs.plugin/sys_devices_virtual_powercap.c
index f79b944a9..ee261c27f 100644
--- a/collectors/debugfs.plugin/sys_devices_virtual_powercap.c
+++ b/collectors/debugfs.plugin/sys_devices_virtual_powercap.c
@@ -151,7 +151,7 @@ int do_sys_devices_virtual_powercap(int update_every, const char *name __maybe_u
update_every);
fprintf(stdout,
- "CLABEL 'zone' '%s' 0\n"
+ "CLABEL 'zone' '%s' 1\n"
"CLABEL_COMMIT\n",
zone->name);
@@ -171,7 +171,7 @@ int do_sys_devices_virtual_powercap(int update_every, const char *name __maybe_u
update_every);
fprintf(stdout,
- "CLABEL 'zone' '%s' 0\n"
+ "CLABEL 'zone' '%s' 1\n"
"CLABEL_COMMIT\n",
zone->name);