summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-04-04 17:03:01 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-04-04 17:03:01 +0000
commit1acf3ae37e5c710dec3dc91aa3ed79eeda663e9f (patch)
tree9c1fcc5f8ca00b45ca385268d79b6b32599b806e
parent8df9237810f10f76661af42dce6199d55b7298fd (diff)
s/0/NULL for pointers
-rw-r--r--sys/arch/sparc64/dev/psycho.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/psycho.c b/sys/arch/sparc64/dev/psycho.c
index cc6307b70b0..28bd154d520 100644
--- a/sys/arch/sparc64/dev/psycho.c
+++ b/sys/arch/sparc64/dev/psycho.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: psycho.c,v 1.16 2002/03/14 03:16:00 millert Exp $ */
+/* $OpenBSD: psycho.c,v 1.17 2002/04/04 17:03:00 jason Exp $ */
/* $NetBSD: psycho.c,v 1.39 2001/10/07 20:30:41 eeh Exp $ */
/*
@@ -468,8 +468,8 @@ psycho_attach(parent, self, aux)
panic("psycho_attach: malloc iommu_state");
- sc->sc_is->is_sb[0] = 0;
- sc->sc_is->is_sb[1] = 0;
+ sc->sc_is->is_sb[0] = NULL;
+ sc->sc_is->is_sb[1] = NULL;
if (getproplen(sc->sc_node, "no-streaming-cache") >= 0)
sc->sc_is->is_sb[0] = &pci_ctl->pci_strbuf;