core: various small fixes to unit-printf
authorEvgeny Vereshchagin <evvers@ya.ru>
Sat, 24 Oct 2015 20:55:56 +0000 (20:55 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Sat, 24 Oct 2015 21:16:02 +0000 (21:16 +0000)
commit115cbf7e209a86cf5317fa12d44566247b4af332
treed25a69defaff87f2f8aff38e709a8faf0d86c23c
parent7f66eb931d20cfdb7e1123673f2d6d08c2589bdf
core: various small fixes to unit-printf

* check memory allocation errors in specifier_cgroup_slice
* %I doesn't fail for non-instantiated units (%i doesn't fail too)
* EOPNOTSUPP for consistency
src/core/unit-printf.c