fixed typo (celcius/celsius)
[psensor.git] / src / lib / amd.c
index 8d65438..e83f5f1 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2010-2011 thgreasi@gmail.com, jeanfi@gmail.com
- * Copyright (C) 2010-2013 jeanfi@gmail.com
+ * Copyright (C) 2012-2014 jeanfi@gmail.com
  *
  * GPU usage is a contribution of MestreLion
  *
@@ -69,9 +69,7 @@ static void *getprocaddress(void *plibrary, const char *name)
        return dlsym(plibrary, name);
 }
 
-/*
-  Returns the temperature (Celcius) of an AMD/ATI GPU.
-*/
+/* Returns the temperature (Celsius) of an AMD/ATI GPU. */
 static double get_temp(struct psensor *sensor)
 {
        ADLTemperature v;
@@ -249,6 +247,10 @@ static int init()
 
        free(lpadapterinfo);
 
+       log_debug(_("Number of AMD/ATI adapters: %d"), inumberadapters);
+       log_debug(_("Number of active AMD/ATI adapters: %d"),
+                 inumberadaptersactive);
+
        return inumberadaptersactive;
 }