]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #3592: memory: fix typo in peg counter help text
authorSteven Baigal (sbaigal) <sbaigal@cisco.com>
Tue, 20 Sep 2022 14:01:49 +0000 (14:01 +0000)
committerSteven Baigal (sbaigal) <sbaigal@cisco.com>
Tue, 20 Sep 2022 14:01:49 +0000 (14:01 +0000)
Merge in SNORT/snort3 from ~AKAYAMBU/snort3:memorypegs to master

Squashed commit of the following:

commit b6663aba460444a11d2cc1e6bb4e94f52ad98892
Author: Arunkumar Kayambu <akayambu@cisco.com>
Date:   Sat Sep 17 16:40:43 2022 -0400

    memory: fix typo in peg counter help text

src/memory/memory_module.cc

index 5cf30795360d407d044beff7e6d43be84c7bc99c..cedabc5f416b8f7cd69dbeb3b5d588dbc8c03597 100644 (file)
@@ -57,10 +57,10 @@ const PegInfo mem_pegs[] =
     { CountType::NOW, "allocations", "total number of allocations" },
     { CountType::NOW, "deallocations", "total number of deallocations" },
     { CountType::NOW, "allocated", "total amount of memory allocated" },
-    { CountType::NOW, "deallocated", "total amount of memory allocated" },
+    { CountType::NOW, "deallocated", "total amount of memory deallocated" },
     { CountType::NOW, "reap_attempts", "attempts to reclaim memory" },
     { CountType::NOW, "reap_failures", "failures to reclaim memory" },
-    { CountType::MAX, "max_in_use", "highest allocated - deallocated" },
+    { CountType::MAX, "max_in_use", "maximum memory used" },
     { CountType::END, nullptr, nullptr }
 };