]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/mem_pool.c
Make PurgeMigrationJob directive name correspond to doc
[bacula/bacula] / bacula / src / lib / mem_pool.c
index 575b4868e276ec608bdc01a6d4559884ea624b43..566a346c811b223527a0ab9423658358a1b475bc 100644 (file)
@@ -47,8 +47,9 @@
  */
 
 #include "bacula.h"
+
 #ifdef HAVE_MALLOC_TRIM
-#include <malloc.h>
+extern "C" int malloc_trim (size_t pad);
 #endif
 
 struct s_pool_ctl {
@@ -435,7 +436,7 @@ void garbage_collect_memory()
 #ifdef DEBUG
 static const char *pool_name(int pool)
 {
-   static const char *name[] = {"NoPool", "NAME  ", "FNAME ", "MSG   ", "EMSG  "};
+   static const char *name[] = {"NoPool", "NAME  ", "FNAME ", "MSG   ", "EMSG  ", "BSOCK "};
    static char buf[30];
 
    if (pool >= 0 && pool <= PM_MAX) {