summaryrefslogtreecommitdiffstats
path: root/src/libsystemd
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-10-30 15:29:29 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-10-31 01:50:50 +0100
commitaa5e67ae6f4fad5e23ae7c074d4dc43f9ad2020c (patch)
treea86c4551cd9cc0e0563459ffe953b5fa86c323c9 /src/libsystemd
parentsd-varlink: if we reply to errors without passing to callback, go through reg... (diff)
downloadsystemd-aa5e67ae6f4fad5e23ae7c074d4dc43f9ad2020c.tar.xz
systemd-aa5e67ae6f4fad5e23ae7c074d4dc43f9ad2020c.zip
sd-varlink: don't show error code we already decoded as part of the log message
Diffstat (limited to 'src/libsystemd')
-rw-r--r--src/libsystemd/sd-varlink/sd-varlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-varlink/sd-varlink.c b/src/libsystemd/sd-varlink/sd-varlink.c
index af3a307354..31ce6710c6 100644
--- a/src/libsystemd/sd-varlink/sd-varlink.c
+++ b/src/libsystemd/sd-varlink/sd-varlink.c
@@ -1356,7 +1356,7 @@ static int varlink_dispatch_method(sd_varlink *v) {
r = varlink_idl_validate_method_call(v->current_method, parameters, flags, &bad_field);
if (r == -EBADE) {
- varlink_log_errno(v, r, "Method %s() called without 'more' flag, but flag needs to be set: %m",
+ varlink_log_errno(v, r, "Method %s() called without 'more' flag, but flag needs to be set.",
method);
if (v->state == VARLINK_PROCESSING_METHOD) {