]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix #9729 bad volume label BlockVer field
authorAlain Spineux <alain@baculasystems.com>
Fri, 9 Dec 2022 09:04:59 +0000 (10:04 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:57:00 +0000 (13:57 +0200)
- get BB02 or BB03 instead of BB%d

bacula/src/stored/label.c

index 1f06bf539faf616de607286e8d9eaccce70c3a87..b1e7f7467936851c9226d51ac2a3f963bed06011 100644 (file)
@@ -1199,7 +1199,7 @@ void DEVICE::dump_volume_label()
 "MediaType         : %s\n"
 "PoolType          : %s\n"
 "HostName          : %s\n"
-"BlockVer          : BB%02%d\n"
+"BlockVer          : BB%02d\n"
 "EncCypherKeySize  : %ld\n"
 "MasterKeyIdSize   : %ld\n"
 ""),