Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/in_cksum panic is printflike.
details: https://anonhg.NetBSD.org/src/rev/06dcc8005fb8
branches: trunk
changeset: 335439:06dcc8005fb8
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Jan 06 21:36:38 2015 +0000
description:
panic is printflike.
diffstat:
tests/net/in_cksum/in_cksum.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b615e40e1b9a -r 06dcc8005fb8 tests/net/in_cksum/in_cksum.c
--- a/tests/net/in_cksum/in_cksum.c Tue Jan 06 21:04:06 2015 +0000
+++ b/tests/net/in_cksum/in_cksum.c Tue Jan 06 21:36:38 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_cksum.c,v 1.2 2015/01/05 23:25:10 christos Exp $ */
+/* $NetBSD: in_cksum.c,v 1.3 2015/01/06 21:36:38 joerg Exp $ */
/*-
* Copyright (c) 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_cksum.c,v 1.2 2015/01/05 23:25:10 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_cksum.c,v 1.3 2015/01/06 21:36:38 joerg Exp $");
#include <sys/param.h>
#include <sys/mbuf.h>
@@ -52,7 +52,7 @@
static bool random_aligned;
-void panic(const char *, ...);
+void panic(const char *, ...) __printflike(1, 2);
void
panic(const char *fmt, ...)
{
Home |
Main Index |
Thread Index |
Old Index