sd-varlink: don't show error code we already decoded as part of the log message

This commit is contained in:
Lennart Poettering
2024-10-31 09:50:50 +09:00
committed by Yu Watanabe
parent 0118074f85
commit aa5e67ae6f
+1 -1
View File
@@ -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) {