From b93c09e46e86e619b77eb298e25812467bf124ae Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 26 Aug 2021 15:44:46 +0200 Subject: [PATCH] Fix compilation --- bacula/src/stored/s3_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bacula/src/stored/s3_driver.c b/bacula/src/stored/s3_driver.c index c9a7e21a3..d0c57161a 100644 --- a/bacula/src/stored/s3_driver.c +++ b/bacula/src/stored/s3_driver.c @@ -350,9 +350,9 @@ static void responseCompleteCallback( } if ((status != S3StatusOK) && ctx->errMsg) { - POOL_MEM msg; - Mmsg(msg, " %s ERR=%s", ctx->caller, msg); - pm_strcat(ctx->errMsg, msg); + POOL_MEM tmp; + Mmsg(tmp, " %s ERR=%s", ctx->caller, msg); + pm_strcat(ctx->errMsg, tmp); if (oops->furtherDetails) { pm_strcat(ctx->errMsg, " "); pm_strcat(ctx->errMsg, oops->furtherDetails); -- 2.47.3