diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2015-11-07 15:17:11 +0100 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2015-11-07 15:17:11 +0100 |
commit | 48e557e84c3db85fe84f11645bb9e013303bb01e (patch) | |
tree | 318998dc976b97d466105c521be7e83d4998e757 /udev.c | |
parent | 37a1cbc8a223235d9fb39fa1d9d83ef5cb66096d (diff) | |
download | vdr-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.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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); } |