Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern panic() must be able to take varargs - in userspace...
details: https://anonhg.NetBSD.org/src/rev/4489bfa060fc
branches: trunk
changeset: 349703:4489bfa060fc
user: cherry <cherry%NetBSD.org@localhost>
date: Mon Dec 19 13:02:14 2016 +0000
description:
panic() must be able to take varargs - in userspace testing too.
diffstat:
sys/kern/subr_extent.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 31d7a0599e3f -r 4489bfa060fc sys/kern/subr_extent.c
--- a/sys/kern/subr_extent.c Mon Dec 19 12:21:29 2016 +0000
+++ b/sys/kern/subr_extent.c Mon Dec 19 13:02:14 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_extent.c,v 1.79 2015/08/24 22:50:32 pooka Exp $ */
+/* $NetBSD: subr_extent.c,v 1.80 2016/12/19 13:02:14 cherry Exp $ */
/*-
* Copyright (c) 1996, 1998, 2007 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_extent.c,v 1.79 2015/08/24 22:50:32 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_extent.c,v 1.80 2016/12/19 13:02:14 cherry Exp $");
#ifdef _KERNEL
#ifdef _KERNEL_OPT
@@ -81,7 +81,7 @@
#define \
pool_put(pool, rp) kmem_free(rp,0)
#define \
-panic(a) printf(a)
+panic(a ...) printf(a)
#define mutex_init(a, b, c)
#define mutex_destroy(a)
#define mutex_enter(l)
Home |
Main Index |
Thread Index |
Old Index