summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-01-07 07:18:06 +0000
committerchristos <christos@NetBSD.org>2006-01-07 07:18:06 +0000
commita6c7e45e28ee7cf3dd65e133dba8924e922fb11f (patch)
treec252a55c631ef3fcef3f8936864b84d26f33c695 /sys/dev
parentee8c3b64e94b17422d631654a918d9f374c372a3 (diff)
fix typo.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/scsipi/cd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/scsipi/cd.c b/sys/dev/scsipi/cd.c
index 59a0174f05e..8af285f3a9b 100644
--- a/sys/dev/scsipi/cd.c
+++ b/sys/dev/scsipi/cd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cd.c,v 1.236 2006/01/07 00:26:58 yamt Exp $ */
+/* $NetBSD: cd.c,v 1.237 2006/01/07 07:18:06 christos Exp $ */
/*-
* Copyright (c) 1998, 2001, 2003, 2004, 2005 The NetBSD Foundation, Inc.
@@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.236 2006/01/07 00:26:58 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.237 2006/01/07 07:18:06 christos Exp $");
#include "rnd.h"
@@ -976,7 +976,7 @@ cdbounce(struct buf *bp)
}
}
done:
- obp->b_flags |= bp->b_flags B_ERROR;
+ obp->b_flags |= bp->b_flags & B_ERROR;
obp->b_error = bp->b_error;
obp->b_resid = bp->b_resid;
free(bp->b_data, M_DEVBUF);