summaryrefslogtreecommitdiff
path: root/udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/udev.c b/udev.c
index 77cc744..f37fc77 100644
--- a/udev.c
+++ b/udev.c
@@ -67,6 +67,13 @@ cUdevListEntry *cUdevDevice::GetDevlinksList(void) const
return new cUdevListEntry(listEntry);
}
+const char *cUdevDevice::GetDevnode(void) const
+{
+ if (device == NULL)
+ return false;
+ return udev_device_get_devnode(device);
+}
+
cUdevDevice *cUdevDevice::GetParent(void) const
{
if (device == NULL)