summaryrefslogtreecommitdiff
path: root/usr/src/cmd/prtconf/prt_xxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/prtconf/prt_xxx.c')
-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) {