mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-25 23:21:33 +03:00
Merge pull request #22821 from poettering/udev-tweaklets
Udev tweaklets
This commit is contained in:
commit
961758c750
@ -12,8 +12,8 @@ typedef enum MatchInitializedType {
|
||||
_MATCH_INITIALIZED_INVALID = -EINVAL,
|
||||
} MatchInitializedType;
|
||||
|
||||
int device_enumerator_scan_devices(sd_device_enumerator *enumeartor);
|
||||
int device_enumerator_scan_subsystems(sd_device_enumerator *enumeartor);
|
||||
int device_enumerator_scan_devices(sd_device_enumerator *enumerator);
|
||||
int device_enumerator_scan_subsystems(sd_device_enumerator *enumerator);
|
||||
int device_enumerator_scan_devices_and_subsystems(sd_device_enumerator *enumerator);
|
||||
int device_enumerator_add_device(sd_device_enumerator *enumerator, sd_device *device);
|
||||
int device_enumerator_add_match_is_initialized(sd_device_enumerator *enumerator, MatchInitializedType type);
|
||||
|
@ -323,7 +323,7 @@ static int device_compare(sd_device * const *a, sd_device * const *b) {
|
||||
if (r != 0)
|
||||
return r;
|
||||
|
||||
return strcmp(devpath_a, devpath_b);
|
||||
return path_compare(devpath_a, devpath_b);
|
||||
}
|
||||
|
||||
static int enumerator_sort_devices(sd_device_enumerator *enumerator) {
|
||||
|
Loading…
Reference in New Issue
Block a user