diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-17 09:30:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-17 09:30:20 +0000 |
commit | 386ccdd61e8256c8b21ee27ee2fc12438fc5ca98 (patch) | |
tree | c9fbcacdb01f029f46133a5ba7ecd610c2bcb041 /collectors/debugfs.plugin/sys_devices_virtual_powercap.c | |
parent | Adding upstream version 1.42.4. (diff) | |
download | netdata-386ccdd61e8256c8b21ee27ee2fc12438fc5ca98.tar.xz netdata-386ccdd61e8256c8b21ee27ee2fc12438fc5ca98.zip |
Adding upstream version 1.43.0.upstream/1.43.0
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.c | 4 |
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 5f22b19e2..f79b944a9 100644 --- a/collectors/debugfs.plugin/sys_devices_virtual_powercap.c +++ b/collectors/debugfs.plugin/sys_devices_virtual_powercap.c @@ -186,7 +186,7 @@ int do_sys_devices_virtual_powercap(int update_every, const char *name __maybe_u if(get_measurement(zone->path, &zone->energy_uj)) { fprintf(stdout, "BEGIN '%s'\n" - "SET power = %lld\n" + "SET power = %llu\n" "END\n" , zone->zone_chart_id , zone->energy_uj); @@ -200,7 +200,7 @@ int do_sys_devices_virtual_powercap(int update_every, const char *name __maybe_u for (struct zone_t *subzone = zone->subzones; subzone; subzone = subzone->next) { if(get_measurement(subzone->path, &subzone->energy_uj)) { fprintf(stdout, - "SET '%s' = %lld\n", + "SET '%s' = %llu\n", subzone->name, subzone->energy_uj); } |