sd-device: fix deserialization from netlink
authorTom Gundersen <teg@jklm.no>
Fri, 3 Apr 2015 19:04:48 +0000 (21:04 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 3 Apr 2015 20:17:52 +0000 (22:17 +0200)
commit4df4fd1127df4b70f78d952a37a51a8c69e3243f
treed1adb5ab9590008d0ff17bffca8a757e6bb2ccdb
parentaa20f49a1c5816e6e7e97f2e2ba209be47f3c0a3
sd-device: fix deserialization from netlink

Use the standard FOREACH_WORD* macros.

The current code was broken in the devlink case so the last one received
was being dropped, causing https://bugs.freedesktop.org/show_bug.cgi?id=89894
src/libsystemd/sd-device/device-private.c