summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2002-04-04 17:03:00 +0000
committerjason <jason@openbsd.org>2002-04-04 17:03:00 +0000
commit97979bb4b11ea110febe229b69ca94d61e7a9ac9 (patch)
treea300797918bcccf9e98292ccc66ba400faa2a3de
parentFetch the "idprom" property from the root and if that fails get it (diff)
downloadwireguard-openbsd-97979bb4b11ea110febe229b69ca94d61e7a9ac9.tar.xz
wireguard-openbsd-97979bb4b11ea110febe229b69ca94d61e7a9ac9.zip
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;