From: Eric Bollengier Date: Tue, 30 Nov 2021 14:03:28 +0000 (+0100) Subject: Tweak MaximumVolumeSize error message in stored X-Git-Tag: Beta-15.0.0~738 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e893f9fbfc5e23033dcd683ed856d29156587272;p=thirdparty%2Fbacula.git Tweak MaximumVolumeSize error message in stored --- diff --git a/bacula/src/stored/stored.c b/bacula/src/stored/stored.c index 7f32d1a86..3cb870cad 100644 --- a/bacula/src/stored/stored.c +++ b/bacula/src/stored/stored.c @@ -435,10 +435,10 @@ static int check_resources() } foreach_res(device, R_DEVICE) { - if (device->max_volume_size && (device->max_volume_size < 1024*1024)) { + if (device->max_volume_size && (device->max_volume_size < 1000000)) { Jmsg(NULL, M_FATAL, 0, _("Invalid (too small) MaximumVolumeSize: %llu for device: %s. " - "MaxVolSize should be bigger or equal to 1048576 bytes\n"), + "MaximumVolumeSize should be greater or equal to 1MB\n"), device->max_volume_size, device->hdr.name); OK = false; }