From 05fb9eb6f6e13c8ced626a4cff9354d46f054a14 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 19 Oct 2008 18:45:27 +0000 Subject: [PATCH] Correct doc error reported by Marco git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7843 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/lib/mem_pool.c | 4 +++- bacula/technotes-2.5 | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bacula/src/lib/mem_pool.c b/bacula/src/lib/mem_pool.c index b54af7b2b3..d961c396c7 100644 --- a/bacula/src/lib/mem_pool.c +++ b/bacula/src/lib/mem_pool.c @@ -160,7 +160,9 @@ int32_t sm_sizeof_pool_memory(const char *fname, int lineno, POOLMEM *obuf) { char *cp = (char *)obuf; - ASSERT(obuf); + if (obuf == NULL) { + Emsg0(M_ABORT, 0, _("obuf is NULL\n")); + } cp -= HEAD_SIZE; return ((struct abufhead *)cp)->ablen; } diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index e1c33af9a2..70856b2527 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -30,7 +30,7 @@ that may be specified on the ./configure line using the ./configure --libdir=/full-path/dir -the default /lib. If --libdir is specified, there should be +the default /usr/lib. If --libdir is specified, there should be no need to modify your loader configuration provided that the shared objects are installed in that directory (Bacula does this with the make install command). The shared objects -- 2.39.5