diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-07 21:31:50 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-07 21:31:50 +0200 |
commit | b59c22a7587201d24087567e2eb93ab78c74187a (patch) | |
tree | 90c088beda6096c1065a02857a83c306aa8558cb /libudev/libudev-device.c | |
parent | d21781c4576e161ada21447e4d85d82b86b381b4 (diff) |
libudev: device - add udev_device_has_tag() to libudev.h and gtk-doc
Diffstat (limited to 'libudev/libudev-device.c')
-rw-r--r-- | libudev/libudev-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libudev/libudev-device.c b/libudev/libudev-device.c index 1d4cb704c2..025527bb8a 100644 --- 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); |