summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
authorLars Hanisch <dvb@flensrocker.de>2015-11-07 15:17:11 +0100
committerLars Hanisch <dvb@flensrocker.de>2015-11-07 15:17:11 +0100
commit48e557e84c3db85fe84f11645bb9e013303bb01e (patch)
tree318998dc976b97d466105c521be7e83d4998e757 /udev.c
parent37a1cbc8a223235d9fb39fa1d9d83ef5cb66096d (diff)
downloadvdr-plugin-pvrinput-master.tar.gz
vdr-plugin-pvrinput-master.tar.bz2
make compatible with vdr 2.3.1HEADv2015-11-07master
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/udev.c b/udev.c
index dbd14fc..695849f 100644
--- a/udev.c
+++ b/udev.c
@@ -79,14 +79,14 @@ pvrinput::cUdevListEntry *pvrinput::cUdevDevice::GetDevlinksList(void) const
const char *pvrinput::cUdevDevice::GetDevnode(void) const
{
if (device == NULL)
- return false;
+ return NULL;
return udev_device_get_devnode(device);
}
const char *pvrinput::cUdevDevice::GetDevpath(void) const
{
if (device == NULL)
- return false;
+ return NULL;
return udev_device_get_devpath(device);
}
@@ -103,28 +103,28 @@ pvrinput::cUdevDevice *pvrinput::cUdevDevice::GetParent(void) const
const char *pvrinput::cUdevDevice::GetPropertyValue(const char *Key) const
{
if (device == NULL)
- return false;
+ return NULL;
return udev_device_get_property_value(device, Key);
}
const char *pvrinput::cUdevDevice::GetSubsystem(void) const
{
if (device == NULL)
- return false;
+ return NULL;
return udev_device_get_subsystem(device);
}
const char *pvrinput::cUdevDevice::GetSysname(void) const
{
if (device == NULL)
- return false;
+ return NULL;
return udev_device_get_sysname(device);
}
const char *pvrinput::cUdevDevice::GetSyspath(void) const
{
if (device == NULL)
- return false;
+ return NULL;
return udev_device_get_syspath(device);
}