small cosmetic change

This commit is contained in:
Jordi Sanfeliu 2015-12-14 16:02:52 +01:00
parent aecd361d16
commit bfd3fcaf49
1 changed files with 1 additions and 0 deletions

View File

@ -478,6 +478,7 @@ sub libvirt_cgi {
} else {
$str = $libvirt->{desc}->{$vm}->{desc} || "";
}
push(@tmpz, "LINE2:cpu" . $n . $LC[$n] . ":$str");
$str = sprintf("%-20s", substr($str, 0, 20));
push(@tmp, "LINE2:cpu" . $n . $LC[$n] . ":$str");