diff options
author | pfg <pfg@FreeBSD.org> | 2017-03-14 02:06:03 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2017-03-14 02:06:03 +0000 |
commit | f3584df197214b997bc9ae927780e03c37c9e36c (patch) | |
tree | aae668303806e238ca59fc767e74a67964266c3f /sys/boot/ofw | |
parent | 1c6f535240ae8fa78eae79343be21fe7ff7a6807 (diff) | |
download | FreeBSD-src-f3584df197214b997bc9ae927780e03c37c9e36c.zip FreeBSD-src-f3584df197214b997bc9ae927780e03c37c9e36c.tar.gz |
MFC r313982, r314068:
sys: Replace zero with NULL for pointers.
Found with: devel/coccinelle
Diffstat (limited to 'sys/boot/ofw')
-rw-r--r-- | sys/boot/ofw/libofw/ofw_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ofw/libofw/ofw_memory.c b/sys/boot/ofw/libofw/ofw_memory.c index 60cc904..5616184 100644 --- a/sys/boot/ofw/libofw/ofw_memory.c +++ b/sys/boot/ofw/libofw/ofw_memory.c @@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$"); #include "libofw.h" #include "openfirm.h" -static void *heap_base = 0; +static void *heap_base = NULL; static unsigned int heap_size = 0; struct ofw_mapping { |