aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index ca194dd35..6c44cce15 100644
--- a/init/init.c
+++ b/init/init.c
@@ -300,7 +300,7 @@ configure_terminals( int serial_cons, int single_user_mode )
}
if (!first_terminal)
first_terminal = console;
-#if #cpu (sparc)
+#if defined (__sparc__)
if (serial_cons > 0 && !strncmp(term_ptr,"TERM=linux",10))
term_ptr = "TERM=vt100";
#endif