mirror of
https://github.com/Stonyx/QNAP-EC.git
synced 2025-07-23 03:13:01 +02:00
Fixed bug in qnap-ec-helper.c file
This commit is contained in:
2
control
2
control
@@ -1,5 +1,5 @@
|
||||
Package: QNAP-EC
|
||||
Version: 1.1.1
|
||||
Version: 1.1.2
|
||||
Architecture: amd64
|
||||
Maintainer: Stonyx <info@stonyx.com>
|
||||
Description: QNAP-EC - HWMon Driver for QNAP IT8528 E.C. Chips
|
||||
|
@@ -216,7 +216,7 @@ int8_t Ini_Conf_Get_Field_Int(char* file, char* section, char* field, int32_t* v
|
||||
uint32_t length)
|
||||
{
|
||||
// Check if the file, section, and field values are not what we expect
|
||||
if (strcmp(file, "/etc/model.conf") || strcmp(section, "System IO") ||
|
||||
if (strcmp(file, "/etc/model.conf") || strcmp(section, "System Enclosure") ||
|
||||
strcmp(field, "MAX_CPU_FAN_NUM"))
|
||||
{
|
||||
syslog(LOG_ERR, "unexpected call to simulated Ini_Conf_Get_Field_Int function with %s, %s, "
|
||||
|
Reference in New Issue
Block a user