[Xfce4-commits] [panel-plugins/xfce4-cpugraph-plugin] 01/01: Fix typo breaking build on NetBSD (Bug #15794)

noreply at xfce.org noreply at xfce.org
Fri Aug 9 02:22:00 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-cpugraph-plugin.

commit 58f6d62a2ce479b3799a0ec41c831f360583c054
Author: Andre Miranda <andreldm at xfce.org>
Date:   Thu Aug 8 21:21:16 2019 -0300

    Fix typo breaking build on NetBSD (Bug #15794)
---
 panel-plugin/os.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/os.c b/panel-plugin/os.c
index f71f8b5..fccef89 100644
--- a/panel-plugin/os.c
+++ b/panel-plugin/os.c
@@ -226,7 +226,7 @@ read_cpu_data (CpuData *data, guint nb_cpu)
     data[0].load = 0;
     for (i = 1; i <= nb_cpu; i++)
     {
-        cp_time1 = cp_time + CPUSTATE * (i - 1);
+        cp_time1 = cp_time + CPUSTATES * (i - 1);
         used = cp_time1[CP_USER] + cp_time1[CP_NICE] + cp_time1[CP_SYS] + cp_time1[CP_INTR];
         total = used + cp_time1[CP_IDLE];
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list