}
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;
* Handle opening of File Archive (not a tape)
*/
if (VolName == NULL || *VolName == 0) {
- Mmsg(&dev->errmsg, _("Could not open file device %s. No Volume name given.\n"),
+ Mmsg(dev->errmsg, _("Could not open file device %s. No Volume name given.\n"),
dev->dev_name);
return -1;
}
/*
* Return string message with last error in English
* Be careful not to call this routine from within dev.c
- * while editing an Mmsg(&) or you will end up in a recursive
+ * while editing an Mmsg() or you will end up in a recursive
* loop creating a Segmentation Violation.
*/
char *