From: Kern Sibbald Date: Sun, 19 Oct 2008 18:45:27 +0000 (+0000) Subject: Correct doc error reported by Marco X-Git-Tag: Release-3.0.0~755 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8f4221dc7ab773ed7ee8fbcdf3c623103c9c0425;p=bacula%2Fbacula Correct doc error reported by Marco git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7843 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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