Fixed description on module_freedisk_percent

This commit is contained in:
fermin831 2017-10-26 16:29:02 +02:00
parent b96b50129c
commit cb7de8a8f2
1 changed files with 1 additions and 1 deletions

View File

@ -1170,7 +1170,7 @@ Pandora_Module_Factory::getModuleFromDefinition (string definition) {
try {
char buffer[100];
unsigned long memory = Pandora_Wmi::getDiskFreeSpace(module_freedisk_percent);
if (sprintf(buffer, "Free memory %s %dMB",
if (sprintf(buffer, "Free space on drive %s %dMB",
module_freedisk_percent.c_str(), memory) > 0) {
module->setDescription(buffer);
}