fix temp sensor finder

SVN revision: 49059
This commit is contained in:
Mike Blumenkrantz 2010-05-20 08:28:57 +00:00
parent e7baca25dc
commit 6eabef2077
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@ eeze_udev_find_by_type(const Eeze_Udev_Type etype, const char *name)
/*check for a temp reading*/
(!(test = udev_device_get_sysattr_value(parent, "temp1_input"))))
goto out;
devname = udev_device_get_syspath(parent);
}
if (name)
if (!strstr(devname, name))