- Dmsg0(400, "truncate_dvd: Truncating...\n");
-
- /* If necessary, truncate it spool file. */
- if (ftruncate(dev->fd, 0) != 0) {
- berrno be;
- Mmsg2(dev->errmsg, _("Unable to truncate device %s. ERR=%s\n"),
- dev->print_name(), be.strerror());
- dev->truncating = false;
- return false;
- }
-