1
1
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:
Yu Watanabe 2020-11-16 18:36:11 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent 91ed0c8e32
commit 5b90b906c7

View File

@ -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;