[Goodies-commits] r5601 - xfce4-power-manager/trunk/src

Ali Abdallah aliov at xfce.org
Mon Oct 13 10:54:05 CEST 2008


Author: aliov
Date: 2008-10-13 08:54:05 +0000 (Mon, 13 Oct 2008)
New Revision: 5601

Modified:
   xfce4-power-manager/trunk/src/xfpm-driver.c
Log:
Fix a wrongly sized array, thanks to Yves-Alexis

Modified: xfce4-power-manager/trunk/src/xfpm-driver.c
===================================================================
--- xfce4-power-manager/trunk/src/xfpm-driver.c	2008-10-13 08:16:08 UTC (rev 5600)
+++ xfce4-power-manager/trunk/src/xfpm-driver.c	2008-10-13 08:54:05 UTC (rev 5601)
@@ -433,7 +433,7 @@
     gchar **govs;
     govs = xfpm_hal_get_available_cpu_governors(priv->hal);
     int i = 0;
-    gint8 gov[4] = { 0, };
+    gint8 gov[5] = { 0, };
     
     if ( govs ) 
     {




More information about the Goodies-commits mailing list