mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed description on module_freedisk_percent
This commit is contained in:
parent
b96b50129c
commit
cb7de8a8f2
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user