2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +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:
Jean Delvare
2002-11-09 20:46:07 +00:00
parent ec0e41c4cf
commit 399618dcf9

View File

@@ -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);