]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/device.c
Use rentrant mysql lib, eliminate race in sql_list, Win32 streams, misc see kes-1.31
[bacula/bacula] / bacula / src / stored / device.c
index b07756a6174d1ac45c8eb4b6263d440cf0e45036..9c34ea667cb9d8ee1f71f5369d185ddb5345bc30 100644 (file)
@@ -79,7 +79,7 @@ int fixup_device_block_write_error(JCR *jcr, DEVICE *dev, DEV_BLOCK *block)
 
    wait_time = time(NULL);
    status_dev(dev, &stat);
-   if (stat & MT_EOD) {
+   if (stat & BMT_EOD) {
       Dmsg0(100, "======= Got EOD ========\n");
 
       block_device(dev, BST_DOING_ACQUIRE);