]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Update minimum value for MaximumVolumeBytes to 1MB (1000000)
authorEric Bollengier <eric@baculasystems.com>
Wed, 22 Dec 2021 12:49:03 +0000 (13:49 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:57 +0000 (13:56 +0200)
bacula/src/dird/dird.c

index f98a870fa6b87c6e166cd0079bfb4659e1562eaf..06aca7aefd4a146ae8db0752a1c98d0f290a1fb2 100644 (file)
@@ -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;
       }