diff --git a/src/stored/dev.c b/src/stored/dev.c
index 4fe1ca2..27144f0 100644
--- a/src/stored/dev.c
+++ b/src/stored/dev.c
@@ -1732,7 +1732,13 @@ void DEVICE::close(DCR *dcr)
       unlock_door();
       /* Fall through wanted */
    default:
-      d_close(m_fd);
+      int stat = d_close(m_fd);
+      if (stat < 0) {
+         berrno be;
+         Mmsg2(errmsg, _("Unable to close device %s. ERR=%s\n"), 
+                  print_name(), be.bstrerror());
+         Jmsg(dcr->jcr, M_FATAL, 0, dev->errmsg);
+      }
       break;
    }
 
