Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix too many arguments for format warning in #ifdef...
details: https://anonhg.NetBSD.org/src/rev/80ed3727714e
branches: trunk
changeset: 543307:80ed3727714e
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Feb 22 12:42:28 2003 +0000
description:
Fix too many arguments for format warning in #ifdef DIAGNOSTIC part
detected by gcc-3.x.
diffstat:
sys/kern/kern_sa.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c2e7ff4872dd -r 80ed3727714e sys/kern/kern_sa.c
--- a/sys/kern/kern_sa.c Sat Feb 22 11:13:10 2003 +0000
+++ b/sys/kern/kern_sa.c Sat Feb 22 12:42:28 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sa.c,v 1.12 2003/02/21 16:30:48 skrll Exp $ */
+/* $NetBSD: kern_sa.c,v 1.13 2003/02/22 12:42:28 tsutsui Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sa.c,v 1.12 2003/02/21 16:30:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sa.c,v 1.13 2003/02/22 12:42:28 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -522,7 +522,7 @@
#ifdef DIAGNOSTIC
printf("sa_switch(%d.%d): "
"couldn't allocate upcall data.\n",
- p->p_pid, l->l_lid, error);
+ p->p_pid, l->l_lid);
#endif
goto sa_upcall_failed;
Home |
Main Index |
Thread Index |
Old Index