]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Fix a storage deamon segfault at debug level 500.
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 2 Apr 2008 14:26:41 +0000 (14:26 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 2 Apr 2008 14:26:41 +0000 (14:26 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@6726 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/acquire.c
bacula/technotes-2.1

index 88c2eb951788260a75de5aafbd28ae671f46f2e7..d41ba82c1ddfcf20df27ea9f145774031c15803a 100644 (file)
@@ -699,7 +699,7 @@ static void attach_dcr_to_dev(DCR *dcr)
 void detach_dcr_from_dev(DCR *dcr)
 {
    DEVICE *dev = dcr->dev;
-   Dmsg1(500, "JobId=%u enter detach_dcr_from_dev\n", (uint32_t)dcr->jcr->JobId);
+   Dmsg0(500, "Enter detach_dcr_from_dev\n"); /* jcr is NULL in some cases */
 
    /* Detach this dcr only if attached */
    if (dcr->attached_to_dev && dev) {
index 1ba0f7f5a1a2e5dc8d6c9cbc63fbb9e554990eca..1b108666b7421f2a8a31371a43159e825e37e873 100644 (file)
@@ -1,6 +1,9 @@
               Technical notes on version 2.2
 
 General:
+01Apr08
+ebl  Fix a storage deamon segfault at debug level 500.
+
 Beta Release Version 2.2.9-b4
 01Apr08
 kes  Re-enable code to remember last volume mounted on a non-tape