summaryrefslogtreecommitdiff
path: root/src/systemd/sd-device.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-17 14:11:00 +0200
committerTom Gundersen <teg@jklm.no>2015-04-17 14:16:16 +0200
commitdee5e0b6c29ca22cbf67d28fbee195d70b0dde72 (patch)
tree9b168fad51bc28c0e12efcc4847eb5293eddad2e /src/systemd/sd-device.h
parent19c9df44921bd4788bba608e9d0756f4fb1d5f89 (diff)
downloadsystemd-dee5e0b6c29ca22cbf67d28fbee195d70b0dde72.tar.gz
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/sd-device.h')
-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 86f767054c..38cb2a1102 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;