file_size_info: add missing format parameters

these calls would print spurious warnings otherwise.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2024-12-09 11:48:01 +01:00
parent a8d246e784
commit f1ea2c5c89
3 changed files with 5 additions and 3 deletions

View File

@ -300,7 +300,7 @@ sub volume_size_info {
my $plugin = PVE::Storage::Plugin->lookup($scfg->{type});
return $plugin->volume_size_info($scfg, $storeid, $volname, $timeout);
} elsif ($volid =~ m|^(/.+)$| && -e $volid) {
return file_size_info($volid, $timeout);
return file_size_info($volid, $timeout, 'auto-detect');
} else {
return 0;
}