From 0e4a65dbb9dc463be8839c5df0592e0ee4576bba Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Tue, 24 Apr 2007 20:00:02 +0000 Subject: [PATCH] Fix broken compilation when debugging enabled git-svn-id: svn://coreboot.org/openbios/openbios-devel@129 f158a5a8-5612-0410-a976-696ce0be7e32 --- arch/sparc32/romvec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sparc32/romvec.c b/arch/sparc32/romvec.c index 10120d0..802cef8 100644 --- a/arch/sparc32/romvec.c +++ b/arch/sparc32/romvec.c @@ -108,7 +108,7 @@ static int obp_proplen(int node, char *name) } } -#if CONFIG_DEBUG_OBP +#ifdef CONFIG_DEBUG_OBP static int looks_like_string(char *str, int len) { int i; @@ -163,7 +163,7 @@ static int obp_getprop(int node, char *name, char *value) else str = "NULL"; -#if CONFIG_DEBUG_OBP +#ifdef CONFIG_DEBUG_OBP if (looks_like_string(str, len)) { DPRINTF("obp_getprop(0x%x, %s) = %s\n", node, name, str); } else {