summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-04-13 00:56:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-04-13 00:56:26 +0000
commit2230c47a580f8020e6248e1a346ed6105b278152 (patch)
tree4cc24070df2656d2999805bbb0c53d60bf7bd359 /sys
parenta0766b9f2117a2b3c07db4e6982d4afebeb461aa (diff)
do not use NULL in an integer context
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/dev/consinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/consinit.c b/sys/arch/sparc64/dev/consinit.c
index 903993316d5..f9d583286c3 100644
--- a/sys/arch/sparc64/dev/consinit.c
+++ b/sys/arch/sparc64/dev/consinit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: consinit.c,v 1.13 2008/01/23 16:37:57 jsing Exp $ */
+/* $OpenBSD: consinit.c,v 1.14 2011/04/13 00:56:25 deraadt Exp $ */
/* $NetBSD: consinit.c,v 1.9 2000/10/20 05:32:35 mrg Exp $ */
/*-
@@ -60,7 +60,7 @@
cons_decl(prom_);
-int stdin = NULL, stdout = NULL;
+int stdin = 0, stdout = 0;
/*
* The console is set to this one initially,