]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix compilation
authorEric Bollengier <eric@baculasystems.com>
Thu, 26 Aug 2021 13:44:46 +0000 (15:44 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:03 +0000 (09:03 +0100)
bacula/src/stored/s3_driver.c

index c9a7e21a30f64d9e5d79841e7570402f0b12d44e..d0c57161a181aa4a9ce2f43598947c3c5bd214f0 100644 (file)
@@ -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);