Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Ooppss, need an ampersand call calling LIST_EMPTY() ...
details: https://anonhg.NetBSD.org/src/rev/3062addceb7a
branches: trunk
changeset: 358250:3062addceb7a
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Dec 19 03:31:12 2017 +0000
description:
Ooppss, need an ampersand call calling LIST_EMPTY() macro
diffstat:
sys/dev/ccd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b76f01023165 -r 3062addceb7a sys/dev/ccd.c
--- a/sys/dev/ccd.c Tue Dec 19 03:24:09 2017 +0000
+++ b/sys/dev/ccd.c Tue Dec 19 03:31:12 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ccd.c,v 1.173 2017/12/19 03:24:09 pgoyette Exp $ */
+/* $NetBSD: ccd.c,v 1.174 2017/12/19 03:31:12 pgoyette Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 1999, 2007, 2009 The NetBSD Foundation, Inc.
@@ -88,7 +88,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.173 2017/12/19 03:24:09 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.174 2017/12/19 03:31:12 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -1718,7 +1718,7 @@
case MODULE_CMD_FINI:
#ifdef _MODULE
mutex_enter(&ccd_lock);
- if (!LIST_EMPTY(ccds)) {
+ if (!LIST_EMPTY(&ccds)) {
mutex_exit(&ccd_lock);
error = EBUSY;
} else {
Home |
Main Index |
Thread Index |
Old Index