From e5bb3cfa2cb074fc4bd738293f8d59cafee16103 Mon Sep 17 00:00:00 2001 From: zachmann Date: Thu, 11 Jul 2024 10:42:27 +0200 Subject: [PATCH] fix wrong type of arguments to formatting function --- src/oidc-agent/oidcp/oidcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oidc-agent/oidcp/oidcp.c b/src/oidc-agent/oidcp/oidcp.c index ef024d0c..5bc4124a 100644 --- a/src/oidc-agent/oidcp/oidcp.c +++ b/src/oidc-agent/oidcp/oidcp.c @@ -346,7 +346,7 @@ int _waitForCodeExchangeRequest(time_t expiration, const char* expected_state, SEC_FREE_KEY_VALUES(); time_t remaining_time = expiration - time(NULL); char* error_msg = oidc_sprintf( - "request currently not acceptable; please try again later (%ds)", + "request currently not acceptable; please try again later (%ls)", remaining_time); server_ipc_write(*(con->msgsock), RESPONSE_ERROR, error_msg); secFree(error_msg);