Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
Fixes #341: stored compile fails
  • Loading branch information
Marco van Wieringen committed Sep 24, 2014
1 parent 18febb4 commit 438769f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stored/backends/generic_tape_device.c
Expand Up @@ -809,7 +809,7 @@ static inline void os_clrerror(DEVICE *dev)
/*
* Read and clear SCSI error status
*/
Dmsg2(200, "Doing MTIOCERRSTAT errno=%d ERR=%s\n", dev_errno, be.bstrerror(dev_errno));
Dmsg2(200, "Doing MTIOCERRSTAT errno=%d ERR=%s\n", dev->dev_errno, be.bstrerror(dev->dev_errno));
if (dev->d_ioctl(dev->fd(), MTIOCERRSTAT, (char *)&mt_errstat) < 0) {
dev->clrerror(MTIOCERRSTAT);
}
Expand Down

0 comments on commit 438769f

Please sign in to comment.