From e893f9fbfc5e23033dcd683ed856d29156587272 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 30 Nov 2021 15:03:28 +0100 Subject: [PATCH] Tweak MaximumVolumeSize error message in stored --- bacula/src/stored/stored.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.3