summaryrefslogtreecommitdiffstats
path: root/sys/boot/ficl
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2017-03-14 02:06:03 +0000
committerpfg <pfg@FreeBSD.org>2017-03-14 02:06:03 +0000
commitf3584df197214b997bc9ae927780e03c37c9e36c (patch)
treeaae668303806e238ca59fc767e74a67964266c3f /sys/boot/ficl
parent1c6f535240ae8fa78eae79343be21fe7ff7a6807 (diff)
downloadFreeBSD-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/ficl')
-rw-r--r--sys/boot/ficl/ficl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/ficl/ficl.c b/sys/boot/ficl/ficl.c
index d4370eb..219cf84 100644
--- a/sys/boot/ficl/ficl.c
+++ b/sys/boot/ficl/ficl.c
@@ -276,7 +276,7 @@ void ficlFreeVM(FICL_VM *pVM)
FICL_SYSTEM *pSys = pVM->pSys;
FICL_VM *pList = pSys->vmList;
- assert(pVM != 0);
+ assert(pVM != NULL);
if (pSys->vmList == pVM)
{
OpenPOWER on IntegriCloud