mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-28 12:40:42 +00:00
Use strcmp instead of strncmp for it87
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1591 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
ec0e41c4cf
commit
399618dcf9
1 file changed
+1
-1
+1
-1
@@ -335,7 +335,7 @@ void do_a_print(sensors_chip_name name)
|
||||
print_w83781d(&name);
|
||||
else if (!strncmp(name.prefix,"maxilife-", 9))
|
||||
print_maxilife(&name);
|
||||
else if (!strncmp(name.prefix,"it87", 4))
|
||||
else if (!strcmp(name.prefix,"it87"))
|
||||
print_it87(&name);
|
||||
else if (!strcmp(name.prefix,"ddcmon"))
|
||||
print_ddcmon(&name);
|
||||
|
||||
Reference in new issue
Block a user