]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix compilation
authorEric Bollengier <eric@baculasystems.com>
Wed, 21 Feb 2024 17:32:57 +0000 (18:32 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 21 Mar 2024 16:19:00 +0000 (17:19 +0100)
bacula/src/stored/dircmd.c

index 3e396d970517340362bdd9dea2646a6ac5f8356d..062fc8b9d864a64d0f768bcb9c1c61d8169de2c2 100644 (file)
@@ -1365,7 +1365,7 @@ static bool volumeprotect_cmd(JCR *jcr)
             uint32_t when = MAX(dev->device->min_volume_protection_time, retention);
             btime_t now = time(NULL);
             if (dev->set_atime(-1, volume, now + when, error.handle()) < 0) {
-               MmsgD3(DT_VOLUME|50, tmp,
+               MmsgD3(DT_VOLUME|50, tmp.addr(),
                      _(" Failed to set the volume %s on device %s in atime retention, ERR=%s.\n"),
                      volume, dev->print_name(), error.c_str());
             }