portable: do not use SYNTHETIC_ERRNO for sd_bus_error_set_errno()
authorMike Yuan <me@yhndnzj.com>
Wed, 13 Nov 2024 16:45:53 +0000 (17:45 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 14 Nov 2024 13:12:13 +0000 (13:12 +0000)
commit018c7fb18ae8aff5414d5e74cb41fb98b72c0554
treee0f63a16eea13bf0b765c5c5a78c74b0af4fb76a
parent7e36a73e2e4d580b2df0f755569ca4040bfe7232
portable: do not use SYNTHETIC_ERRNO for sd_bus_error_set_errno()

The concept of synthetic errnos is about logging, which
is irrelevant irt bus error and we don't do any special
treatment in sd-bus for them, meaning the value propagated
would be spurious.

(cherry picked from commit 2f2058da0b88535cb3a95fc98e7b2f1ae4d35601)
src/portable/portable.c