aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index b4dc1dea837d..dd39abba7ef8 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -745,7 +745,7 @@ fdc_worker(struct fdc_data *fdc)
bp = fdc->bp;
fd = fdc->fd;
if (bp != NULL &&
- (fdc->retry >= retries || (fd->flags & FDOPT_NORETRY))) {
+ (fdc->retry >= retries || (fd->options & FDOPT_NORETRY))) {
if ((debugflags & 4))
printf("Too many retries (EIO)\n");
return (fdc_biodone(fdc, EIO));