From: Eric Bollengier Date: Mon, 26 Feb 2007 09:58:57 +0000 (+0000) Subject: ebl fix X-Git-Tag: Release-2.0.3~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=782f64ce68c7dfce9c2bd15148d35d906ddcc866;p=bacula%2Fbacula ebl fix git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.0@4258 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/dev.c b/bacula/src/stored/dev.c index b61d21624a..f0d66c861e 100644 --- a/bacula/src/stored/dev.c +++ b/bacula/src/stored/dev.c @@ -383,7 +383,7 @@ void DEVICE::open_tape_device(DCR *dcr, int omode) mt_com.mt_op = MTREW; mt_com.mt_count = 1; /* rewind only if dev is a tape */ - if (is_tape() && (ioctl(m_fd, MTIOCTOP, (char *)&mt_com) < 0)) { + if (is_tape() && (ioctl(fd, MTIOCTOP, (char *)&mt_com) < 0)) { berrno be; dev_errno = errno; /* set error status from rewind */ ::close(fd);