]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/autochanger.c
Use dcr more in SD + int to bool conversions
[bacula/bacula] / bacula / src / stored / autochanger.c
index d459689e32d639e135da001e651799d22a05dc10..447fa8bb2849d2834ab24058cf22e84ef97178e9 100644 (file)
@@ -7,7 +7,7 @@
  *   Version $Id$
  */
 /*
-   Copyright (C) 2000-2003 Kern Sibbald and John Walker
+   Copyright (C) 2000-2004 Kern Sibbald and John Walker
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -176,7 +176,7 @@ void invalid_slot_in_catalog(JCR *jcr, DEVICE *dev)
    jcr->VolCatInfo.InChanger = false;
    dev->VolCatInfo.InChanger = false;
    Dmsg0(100, "update vol info in mount\n");
-   dir_update_volume_info(jcr, dev, 1);  /* set new status */
+   dir_update_volume_info(jcr, true);  /* set new status */
 }
 
 /*