X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fdircmd.c;h=ad294bb0627c2d6ba4ed45e8eedb78eaf83a767f;hb=ce462cd94d90f4785b622cedc2ca48d616fe3f07;hp=972c66fc8a4d841383c50e8e2610f1fd3382d21e;hpb=c879001a9d7a768affedf971d023f943eb1bf787;p=bacula%2Fbacula diff --git a/bacula/src/stored/dircmd.c b/bacula/src/stored/dircmd.c index 972c66fc8a..ad294bb062 100644 --- a/bacula/src/stored/dircmd.c +++ b/bacula/src/stored/dircmd.c @@ -650,7 +650,8 @@ static bool mount_cmd(JCR *jcr) if (dcr) { dev = dcr->dev; dev->dlock(); /* Use P to avoid indefinite block */ - Dmsg1(100, "mount cmd blocked=%d\n", dev->blocked()); + Dmsg2(100, "mount cmd blocked=%d must_unload=%d\n", dev->blocked(), + dev->must_unload()); switch (dev->blocked()) { /* device blocked? */ case BST_WAITING_FOR_SYSOP: /* Someone is waiting, wake him */