summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-01-26 15:17:35 +0200
committerToomas Soome <tsoome@me.com>2019-07-26 08:40:55 +0300
commit90155ca7905a1e7bd819d9b7289606ea706e839e (patch)
tree3344ab0d62da40a3d7979cf6e49b1eec67917098
parent554bfeed32a95d6fbf43483084ec06005c31033f (diff)
downloadillumos-gate-90155ca7905a1e7bd819d9b7289606ea706e839e.tar.gz
11410 prtconf: NULL pointer errors
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/cmd/prtconf/prt_xxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/prtconf/prt_xxx.c b/usr/src/cmd/prtconf/prt_xxx.c
index e690c220e0..abfcf5f34e 100644
--- a/usr/src/cmd/prtconf/prt_xxx.c
+++ b/usr/src/cmd/prtconf/prt_xxx.c
@@ -394,7 +394,7 @@ dump_priv_data(int ilev, di_node_t node)
uintptr_t priv;
struct priv_data *pdp;
- if ((priv = (uintptr_t)di_parent_private_data(node)) == NULL)
+ if ((priv = (uintptr_t)di_parent_private_data(node)) == (uintptr_t)NULL)
return;
if ((pdp = match_priv_data(node)) == NULL) {