Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Mistake in previous - lwp_t *l was not meant to be ...
details: https://anonhg.NetBSD.org/src/rev/f742f1710ba3
branches: trunk
changeset: 745174:f742f1710ba3
user: ad <ad%NetBSD.org@localhost>
date: Sun Feb 23 22:56:41 2020 +0000
description:
Mistake in previous - lwp_t *l was not meant to be static.
diffstat:
sys/kern/kern_reboot.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 7574ccf049b9 -r f742f1710ba3 sys/kern/kern_reboot.c
--- a/sys/kern/kern_reboot.c Sun Feb 23 22:28:53 2020 +0000
+++ b/sys/kern/kern_reboot.c Sun Feb 23 22:56:41 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_reboot.c,v 1.3 2020/02/23 20:06:30 ad Exp $ */
+/* $NetBSD: kern_reboot.c,v 1.4 2020/02/23 22:56:41 ad Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_reboot.c,v 1.3 2020/02/23 20:06:30 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_reboot.c,v 1.4 2020/02/23 22:56:41 ad Exp $");
#include <sys/atomic.h>
#include <sys/param.h>
@@ -51,7 +51,8 @@
void
kern_reboot(int howto, char *bootstr)
{
- static lwp_t *rebooter, *l;
+ static lwp_t *rebooter;
+ lwp_t *l;
/*
* If already rebooting then just hang out. Allow reentry for the
Home |
Main Index |
Thread Index |
Old Index