Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Fix pasto.
details: https://anonhg.NetBSD.org/src/rev/86d0b7e7d756
branches: trunk
changeset: 537918:86d0b7e7d756
user: ad <ad%NetBSD.org@localhost>
date: Tue Oct 08 12:51:20 2002 +0000
description:
Fix pasto.
diffstat:
sys/dev/ic/mlx.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 48bc4e33f4de -r 86d0b7e7d756 sys/dev/ic/mlx.c
--- a/sys/dev/ic/mlx.c Tue Oct 08 12:40:52 2002 +0000
+++ b/sys/dev/ic/mlx.c Tue Oct 08 12:51:20 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mlx.c,v 1.23 2002/10/06 23:17:46 kristerw Exp $ */
+/* $NetBSD: mlx.c,v 1.24 2002/10/08 12:51:20 ad Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mlx.c,v 1.23 2002/10/06 23:17:46 kristerw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mlx.c,v 1.24 2002/10/08 12:51:20 ad Exp $");
#include "ld.h"
@@ -1891,6 +1891,7 @@
int s;
s = splbio();
+ mc = SLIST_FIRST(&mlx->mlx_ccb_freelist);
if (control) {
if (mlx->mlx_nccbs_ctrl >= MLX_NCCBS_CONTROL) {
splx(s);
@@ -1900,7 +1901,6 @@
mc->mc_flags |= MC_CONTROL;
mlx->mlx_nccbs_ctrl++;
}
- mc = SLIST_FIRST(&mlx->mlx_ccb_freelist);
SLIST_REMOVE_HEAD(&mlx->mlx_ccb_freelist, mc_chain.slist);
splx(s);
Home |
Main Index |
Thread Index |
Old Index