]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.c
btape test and fill improvements + first cut Qmsg
[bacula/bacula] / bacula / src / stored / stored.c
index 568f4529f0c2e35d2d5f31e5678a8fbf78a3320a..3559143b8867f5a1a0e1d49118e9cdfc9fc28cd4 100644 (file)
@@ -304,8 +304,8 @@ static void *device_allocation(void *arg)
         continue;
       }
       if (device->cap_bits & CAP_ALWAYSOPEN) {
-         Dmsg1(20, "calling open_device %s\n", device->device_name);
-        if (!open_device(device->dev)) {
+         Dmsg1(20, "calling first_open_device %s\n", device->device_name);
+        if (!first_open_device(device->dev)) {
             Emsg1(M_ERROR, 0, _("Could not open device %s\n"), device->device_name);
         }
       }