]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-event: improve debugging of event source errors 2204/head
authorDaniel Mack <daniel@zonque.org>
Mon, 21 Dec 2015 12:03:24 +0000 (13:03 +0100)
committerDaniel Mack <daniel@zonque.org>
Mon, 21 Dec 2015 12:03:24 +0000 (13:03 +0100)
commit55cbfaa54ba92d8b605c7e0ccf328964e1c5b28e
tree322a19e2aa6d3ca62719023a1c84ca39ab8264fa
parent69881a62a39fb3ac104fcff91b81cdadd332e52f
sd-event: improve debugging of event source errors

Printing the pointer variable really doesn't help, so drop that.

Instead, add a string lookup table for the EventSourceType enum, and print
the type of event source in case of errors.
src/libsystemd/sd-event/sd-event.c