From: Eric Bollengier Date: Wed, 22 Dec 2021 12:49:03 +0000 (+0100) Subject: Update minimum value for MaximumVolumeBytes to 1MB (1000000) X-Git-Tag: Beta-15.0.0~704 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3cee6230dc1e5af3ea887930b3041ccf665517;p=thirdparty%2Fbacula.git Update minimum value for MaximumVolumeBytes to 1MB (1000000) --- diff --git a/bacula/src/dird/dird.c b/bacula/src/dird/dird.c index f98a870fa..06aca7aef 100644 --- a/bacula/src/dird/dird.c +++ b/bacula/src/dird/dird.c @@ -1322,10 +1322,10 @@ static bool check_resources() OK = false; } - if (pool->MaxVolBytes && (pool->MaxVolBytes < 1024*1024)) { + if (pool->MaxVolBytes && (pool->MaxVolBytes < 1000000)) { Jmsg(NULL, M_FATAL, 0, _("Invalid (too small) MaximumVolumeBytes: %llu for pool: %s. " - "MaxVolBytes should be bigger or equal to 1048576 bytes\n"), + "MaxVolBytes should be bigger or equal to 1MB\n"), pool->MaxVolBytes, pool->hdr.name); OK = false; }