1 --- bacula-5.0.3/src/stored/dev.c.orig 2010-08-05 16:29:51.000000000 +0200
2 +++ bacula-5.0.3/src/stored/dev.c 2010-09-21 09:53:25.000000000 +0200
7 - } else if (is_file() || is_dvd()) {
8 + } else if (dcr && (is_file() || is_dvd())) {
9 if (lseek(dcr, (boffset_t)0, SEEK_SET) < 0) {