[PATCH v2] interface: fix udev_device_get_sysattr_value return value check