diff options
author | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2009-09-01 21:16:48 +0000 |
---|---|---|
committer | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2009-09-01 21:16:48 +0000 |
commit | 400e15563c52747bd982d3a88c0352125e71f4f4 (patch) | |
tree | e0a1db30f5be460c40b361794bdfff971a35807f /sys/arch/alpha | |
parent | e034552b4521c08723bc4e38cf86ab7d820e83a3 (diff) |
Fix: alpha DEBUG kernel failed to compile
ok miod, deraadt
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/dec_kn300.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |