Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/temperature


Modified Files:
        e_mod_main.c 


Log Message:
Fix for FreeBSD, thanks Ravenlock.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/temperature/e_mod_main.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -3 -r1.73 -r1.74
--- e_mod_main.c        15 Dec 2006 08:32:31 -0000      1.73
+++ e_mod_main.c        16 Dec 2006 08:30:29 -0000      1.74
@@ -248,9 +248,9 @@
                    }
               }
          }
-     }
 # endif
 #endif
+     }
    if ((temperature_config->sensor_type) &&
        (temperature_config->sensor_name) && 
        (!temperature_config->sensor_path))
@@ -330,7 +330,7 @@
       case SENSOR_TYPE_FREEBSD:
 #ifdef __FreeBSD__
         len = sizeof(temp);
-        if (sysctl(mib, 5, &temp, &len, NULL, 0) != -1)
+        if (sysctl(temperature_config->mib, 5, &temp, &len, NULL, 0) != -1)
           {
              temp = (temp - 2732) / 10;
              ret = 1;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to