summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-03-01 11:56:01 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-03-01 11:56:01 +0000
commitee7c6969024a9e9126a08657af497e113851c934 (patch)
tree38d948958cd60fa709209da775ad1b514f91bd4d /sys/arch/sparc64
parent58b5e41e6cf8208add98c4b513e8e45c2a31755e (diff)
DB_SYM_NULL -> NULL.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/openfirm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/openfirm.c b/sys/arch/sparc64/sparc64/openfirm.c
index e46bee8a949..9140beccef4 100644
--- a/sys/arch/sparc64/sparc64/openfirm.c
+++ b/sys/arch/sparc64/sparc64/openfirm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openfirm.c,v 1.15 2014/03/29 18:09:30 guenther Exp $ */
+/* $OpenBSD: openfirm.c,v 1.16 2016/03/01 11:56:00 mpi Exp $ */
/* $NetBSD: openfirm.c,v 1.13 2001/06/21 00:08:02 eeh Exp $ */
/*
@@ -827,7 +827,7 @@ void OF_val2sym(cells)
if (obp_symbol_debug)
prom_printf("looking up value %ld\r\n", value);
symbol = db_search_symbol(value, 0, &offset);
- if (symbol == DB_SYM_NULL) {
+ if (symbol == NULL) {
if (obp_symbol_debug)
prom_printf("OF_val2sym: not found\r\n");
args->nreturns = 1;