summaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index 707b191..a354f8a 100644
--- a/init.c
+++ b/init.c
@@ -192,7 +192,7 @@ static void console_init()
if ((s = getenv("CONSOLE")) != NULL) {
console = s;
}
-#if defined (__sparc__)
+#if #cpu(sparc)
/* sparc kernel supports console=tty[ab] parameter which is also
* passed to init, so catch it here */
else if ((s = getenv("console")) != NULL) {