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 Feb 17, 2015
1 parent 6968cba commit 8c559e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stored/backends/generic_tape_device.c
Original file line number Diff line number Diff line change
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 8c559e3

Please sign in to comment.