Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern fix incorrect type
details: https://anonhg.NetBSD.org/src/rev/c30589685873
branches: trunk
changeset: 968943:c30589685873
user: christos <christos%NetBSD.org@localhost>
date: Sat Feb 01 19:29:27 2020 +0000
description:
fix incorrect type
diffstat:
sys/kern/kern_sleepq.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e37372c1b5e2 -r c30589685873 sys/kern/kern_sleepq.c
--- a/sys/kern/kern_sleepq.c Sat Feb 01 19:11:59 2020 +0000
+++ b/sys/kern/kern_sleepq.c Sat Feb 01 19:29:27 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sleepq.c,v 1.59 2020/01/26 19:01:56 ad Exp $ */
+/* $NetBSD: kern_sleepq.c,v 1.60 2020/02/01 19:29:27 christos Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008, 2009, 2019, 2020 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sleepq.c,v 1.59 2020/01/26 19:01:56 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sleepq.c,v 1.60 2020/02/01 19:29:27 christos Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -189,7 +189,7 @@
if ((sobj->sobj_flag & SOBJ_SLEEPQ_SORTED) != 0) {
lwp_t *l2;
- const int pri = lwp_eprio(l);
+ const pri_t pri = lwp_eprio(l);
TAILQ_FOREACH(l2, sq, l_sleepchain) {
if (lwp_eprio(l2) < pri) {
Home |
Main Index |
Thread Index |
Old Index