bus-message: let's always use -EBADMSG when the message is bad

-EINVAL means the arguments were somehow wrong, so translate the code we get
internally into -EBADMSG when returning.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-10-02 11:53:20 +02:00
parent ec6bda56cb
commit 69bd42ca07
2 changed files with 2 additions and 0 deletions