From: Eric Bollengier Date: Thu, 26 Aug 2021 13:44:46 +0000 (+0200) Subject: Fix compilation X-Git-Tag: Release-11.3.2~380 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b93c09e46e86e619b77eb298e25812467bf124ae;p=thirdparty%2Fbacula.git Fix compilation --- 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);