]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/device.c
Use dcr more in SD + int to bool conversions
[bacula/bacula] / bacula / src / stored / device.c
index fefda7ab2f1b114f09a5b15676f443a96e4e4cc8..555118c89fca8d1d2609414f98042fefe42f9698 100644 (file)
@@ -113,7 +113,7 @@ bool fixup_device_block_write_error(DCR *dcr, DEV_BLOCK *block)
       dev->VolCatInfo.VolCatStatus, dev->VolCatInfo.VolCatName);
    dev->VolCatInfo.VolCatFiles = dev->file;   /* set number of files */
    dev->VolCatInfo.VolCatJobs++;             /* increment number of jobs */
-   if (!dir_update_volume_info(jcr, dev, 0)) {   /* send Volume info to Director */
+   if (!dir_update_volume_info(jcr, false)) {   /* send Volume info to Director */
       P(dev->mutex);
       unblock_device(dev);
       return false;               /* device locked */