From: Marius Vlad Date: Tue, 24 Oct 2023 14:11:12 +0000 (+0300) Subject: grpc-proxy: Fix missing args LOG() X-Git-Tag: 17.90.0~9 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F04%2F29304%2F2;p=src%2Fagl-compositor.git grpc-proxy: Fix missing args LOG() These are not seen until enabling the DEBUG directive. Bug-AGL: SPEC-4912 Signed-off-by: Marius Vlad Change-Id: Ic18c701909975978e82ef811ade416d802e567b5 --- diff --git a/grpc-proxy/main-grpc.cpp b/grpc-proxy/main-grpc.cpp index 5569fc8..ea75722 100644 --- a/grpc-proxy/main-grpc.cpp +++ b/grpc-proxy/main-grpc.cpp @@ -129,7 +129,7 @@ agl_shell_app_on_output(void *data, struct agl_shell *agl_shell, (void) data; (void) app_id; - LOG("got app_on_output event app_id %s on output\n", app_id, output_name); + LOG("got app_on_output event app_id %s on output %s\n", app_id, output_name); } diff --git a/grpc-proxy/shell.cpp b/grpc-proxy/shell.cpp index bc2df23..ec8997c 100644 --- a/grpc-proxy/shell.cpp +++ b/grpc-proxy/shell.cpp @@ -112,7 +112,7 @@ Shell::SetAppOnOutput(const std::string &app_id, const std::string &output) } if (!w_output) { - LOG("Could not found output '%s' to set the application\n"); + LOG("Could not found output '%s' to set the application\n", output.c_str()); return; }