From: Eric Bollengier Date: Wed, 21 Feb 2024 17:32:57 +0000 (+0100) Subject: Fix compilation X-Git-Tag: Release-15.0.2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa429c17d3514ebba033d814b2f5973076d8f81a;p=thirdparty%2Fbacula.git Fix compilation --- diff --git a/bacula/src/stored/dircmd.c b/bacula/src/stored/dircmd.c index 3e396d970..062fc8b9d 100644 --- a/bacula/src/stored/dircmd.c +++ b/bacula/src/stored/dircmd.c @@ -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()); }