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

2 files Authored by Zbigniew Jędrzejewski-Szmek 4 years ago, Committed by Packit Service 4 years ago,
    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.
    
    (cherry picked from commit 69bd42ca072dfb2f7603b1f82053063293ab54b5)
    
    Resolves: #1696224
    
    patch_name: 0163-bus-message-let-s-always-use-EBADMSG-when-the-messag.patch
    present_in_specfile: true
    location_in_specfile: 163
    squash_commits: true