From 400e15563c52747bd982d3a88c0352125e71f4f4 Mon Sep 17 00:00:00 2001 From: Ariane van der Steldt Date: Tue, 1 Sep 2009 21:16:48 +0000 Subject: Fix: alpha DEBUG kernel failed to compile ok miod, deraadt --- sys/arch/alpha/alpha/dec_kn300.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/arch/alpha/alpha/dec_kn300.c b/sys/arch/alpha/alpha/dec_kn300.c index 93cd8e98c44..7c508c76105 100644 --- a/sys/arch/alpha/alpha/dec_kn300.c +++ b/sys/arch/alpha/alpha/dec_kn300.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dec_kn300.c,v 1.3 2008/07/16 20:03:20 miod Exp $ */ +/* $OpenBSD: dec_kn300.c,v 1.4 2009/09/01 21:16:47 ariane Exp $ */ /* $NetBSD: dec_kn300.c,v 1.34 2007/03/04 15:18:10 yamt Exp $ */ /* @@ -72,9 +72,9 @@ static int comcnrate = CONSPEED; #ifdef DEBUG int bootdev_debug; -#define DPRINTF(x) if (bootdev_debug) printf x +#define DPRINTF(x) do { if (bootdev_debug) printf x; } while (0) #else -#define DPRINTF(x) +#define DPRINTF(x) do { } while (0) #endif void dec_kn300_init (void); -- cgit v1.2.3