Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Make the DEBUG version compile
details: https://anonhg.NetBSD.org/src/rev/5a45afda6849
branches: trunk
changeset: 997973:5a45afda6849
user: martin <martin%NetBSD.org@localhost>
date: Thu Apr 04 07:09:55 2019 +0000
description:
Make the DEBUG version compile
diffstat:
sys/kern/subr_disk.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1c0e0268182e -r 5a45afda6849 sys/kern/subr_disk.c
--- a/sys/kern/subr_disk.c Thu Apr 04 04:31:01 2019 +0000
+++ b/sys/kern/subr_disk.c Thu Apr 04 07:09:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_disk.c,v 1.124 2019/04/03 22:10:52 christos Exp $ */
+/* $NetBSD: subr_disk.c,v 1.125 2019/04/04 07:09:55 martin Exp $ */
/*-
* Copyright (c) 1996, 1997, 1999, 2000, 2009 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_disk.c,v 1.124 2019/04/03 22:10:52 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_disk.c,v 1.125 2019/04/04 07:09:55 martin Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -744,7 +744,7 @@
#ifndef __HAVE_SETDISKLABEL
#ifdef DEBUG
-#define DPRINTF(a, ...) printf(a, __VA_ARGS__)
+#define DPRINTF(a, ...) printf(a, ##__VA_ARGS__)
#else
#define DPRINTF(a, ...) __nothing
#endif
Home |
Main Index |
Thread Index |
Old Index