normalize constants naming
[psensor.git] / src / lib / psensor.c
index 3cd6956..da57f09 100644 (file)
@@ -400,7 +400,7 @@ const char *psensor_type_to_str(unsigned int type)
        if (type & SENSOR_TYPE_LMSENSOR_FAN)
                return "Fan";
 
-       if (type & SENSOR_TYPE_NVIDIA)
+       if (type & SENSOR_TYPE_NVIDIA_TEMP)
                return "NVidia GPU Temperature";
 
        if (type & SENSOR_TYPE_AMD_TEMP)