chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libudev: enumerate - include parent device itself with match_parent()
[elogind.git]
/
libudev
/
libudev-device.c
diff --git
a/libudev/libudev-device.c
b/libudev/libudev-device.c
index 1d4cb704c29794eb531404653102322663a6939d..025527bb8ab59f2114e34d812c5d8d48d5755b20 100644
(file)
--- a/
libudev/libudev-device.c
+++ b/
libudev/libudev-device.c
@@
-1651,7
+1651,7
@@
UDEV_EXPORT int udev_device_has_tag(struct udev_device *udev_device, const char
struct udev_list_entry *list_entry;
if (udev_device == NULL)
- return
NULL
;
+ return
false
;
if (!udev_device->info_loaded)
udev_device_read_db(udev_device, NULL);
list_entry = udev_device_get_tags_list_entry(udev_device);