bus-util: make sure map_basic() returns EOPNOTSUPP if called for an unknown type
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Aug 2016 17:04:35 +0000 (19:04 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 22 Aug 2016 14:14:21 +0000 (16:14 +0200)
commit8b3b6f588cd9aecbfb17664a5961f789b5a11386
treed5f393ac7dd4cea61f00ea9a2daf715376c122e8
parent0b83b8a4dcd429e6d14f2251fffdc7eae215c1f5
bus-util: make sure map_basic() returns EOPNOTSUPP if called for an unknown type

Make sure we return proper errors for types not understood yet.
src/shared/bus-util.c