mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
udev: use FOREACH_DEVICE_TAG() macro at one more place
This commit is contained in:
parent
91ed0c8e32
commit
5b90b906c7
@ -960,7 +960,7 @@ static int copy_all_tags(sd_device *d, sd_device *s) {
|
||||
if (!s)
|
||||
return 0;
|
||||
|
||||
for (tag = sd_device_get_tag_first(s); tag; tag = sd_device_get_tag_next(s)) {
|
||||
FOREACH_DEVICE_TAG(s, tag) {
|
||||
r = device_add_tag(d, tag, false);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user