]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/dev.c
!!! I didn't run the regression tests.!!!
[bacula/bacula] / bacula / src / stored / dev.c
index a7141b2c26b17183af73a4419b92034eb45ee1cc..3bb3d0c71ecc87643a196e90ca7e8ac8ed6b4051 100644 (file)
@@ -204,7 +204,7 @@ init_dev(DEVICE *dev, DEVRES *device)
    }
 
    dev->fd = -1;
-   dev->attached_dcrs = new dlist(dcr, &dcr->dev_link);
+   dev->attached_dcrs = New(dlist(dcr, &dcr->dev_link));
    Dmsg2(29, "init_dev: tape=%d dev_name=%s\n", dev_is_tape(dev), dev->dev_name);
 
    return dev;