]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/protos.h
- Apply Mike Acar's suggestion when looking for the next volume
[bacula/bacula] / bacula / src / stored / protos.h
index e8aacfd71464e22d995bd85dc2fe478a8f7d0c42..6898968a29311199d8f2627c68c9e2d6e6c16dc3 100644 (file)
@@ -119,8 +119,8 @@ uint32_t dev_file(DEVICE *dev);
 bool     dev_is_tape(DEVICE *dev);
 
 /* From device.c */
-int      open_device(JCR *jcr, DEVICE *dev);
-int      first_open_device(DEVICE *dev);
+bool     open_device(JCR *jcr, DEVICE *dev);
+bool     first_open_device(DEVICE *dev);
 bool     fixup_device_block_write_error(DCR *dcr, DEV_BLOCK *block);
 void     _lock_device(const char *file, int line, DEVICE *dev);
 void     _unlock_device(const char *file, int line, DEVICE *dev);