]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix segfault with print_memory_pool_stats()
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 4 Feb 2011 08:50:13 +0000 (09:50 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 4 Feb 2011 08:50:40 +0000 (09:50 +0100)
bacula/src/lib/mem_pool.c

index 575b4868e276ec608bdc01a6d4559884ea624b43..117da13335ef10c870ea11ef07b8263e9eecea0e 100644 (file)
@@ -435,7 +435,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) {