summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-17 14:11:00 +0200
committerSven Eden <yamakuzure@gmx.net>2017-03-14 08:06:45 +0100
commitcce593bad53de280f0d69dbc24c8be420b185b95 (patch)
tree6da843af6981d6355fb60dec524808da854355cb /src/systemd
parentbf5b19bad35f6b8b3bbf8b34e98ab3f79aeb6d93 (diff)
sd-device: enumerator - match only on initialized devices by default
It is still possible to include uninitialized ones, but now that is opt-in. In most cases people only want initialized devices. Exception is if you want to work without udev running. Suggested by David Herrmann.
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/sd-device.h b/src/systemd/sd-device.h
index 86f767054..38cb2a110 100644
--- a/src/systemd/sd-device.h
+++ b/src/systemd/sd-device.h
@@ -92,7 +92,7 @@ int sd_device_enumerator_add_match_property(sd_device_enumerator *enumerator, co
int sd_device_enumerator_add_match_sysname(sd_device_enumerator *enumerator, const char *sysname);
int sd_device_enumerator_add_match_tag(sd_device_enumerator *enumerator, const char *tag);
int sd_device_enumerator_add_match_parent(sd_device_enumerator *enumerator, sd_device *parent);
-int sd_device_enumerator_add_match_is_initialized(sd_device_enumerator *enumerator);
+int sd_device_enumerator_allow_uninitialized(sd_device_enumerator *enumerator);
_SD_END_DECLARATIONS;