grpc-proxy: Fix missing args LOG() 04/29304/2
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 24 Oct 2023 14:11:12 +0000 (17:11 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 3 Nov 2023 17:46:25 +0000 (17:46 +0000)
These are not seen until enabling the DEBUG directive.

Bug-AGL: SPEC-4912
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ic18c701909975978e82ef811ade416d802e567b5

grpc-proxy/main-grpc.cpp
grpc-proxy/shell.cpp

index 5569fc8..ea75722 100644 (file)
@@ -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);
 }
 
 
index bc2df23..ec8997c 100644 (file)
@@ -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;
        }