[Xfce4-commits] <xfce4-cpugraph-plugin:master> Fix compilation on FreeBSD

Florian Rivoal noreply at xfce.org
Mon Jun 28 16:50:01 CEST 2010


Updating branch refs/heads/master
         to 3421ae047decf1ce514b945818934cda577c66a8 (commit)
       from c717a437063669dc7a23faa7cbaa15a5867b93c1 (commit)

commit 3421ae047decf1ce514b945818934cda577c66a8
Author: Florian Rivoal <frivoal at gmail.com>
Date:   Tue Jun 22 09:54:19 2010 +0900

    Fix compilation on FreeBSD
    
    Fix a typo that prevented the FreeBSD version from building. This
    addresses bug 6517.

 panel-plugin/os.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/os.c b/panel-plugin/os.c
index 125db97..20535f4 100644
--- a/panel-plugin/os.c
+++ b/panel-plugin/os.c
@@ -119,7 +119,7 @@ gboolean read_cpu_data( CpuData *data, guint nb_cpu)
 
 	if( sysctlbyname( "kern.cp_time", &cp_time, &len, NULL, 0 ) < 0 )
 	{
-		return FALSE1;
+		return FALSE;
 	}
 
 	user = cp_time[CP_USER];



More information about the Xfce4-commits mailing list