summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/cddl/compat/opensolaris/sys/dnlc.h2
-rw-r--r--sys/compat/opensolaris/sys/dnlc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/dnlc.h b/sys/cddl/compat/opensolaris/sys/dnlc.h
index 889edac..a2d4f01 100644
--- a/sys/cddl/compat/opensolaris/sys/dnlc.h
+++ b/sys/cddl/compat/opensolaris/sys/dnlc.h
@@ -29,7 +29,7 @@
#ifndef _OPENSOLARIS_SYS_DNLC_H_
#define _OPENSOLARIS_SYS_DNLC_H_
-#define DNLC_NO_VNODE (NULL)
+#define DNLC_NO_VNODE ((void *)(intptr_t)0xdeadc0de)
#define dnlc_lookup(dvp, name) (NULL)
#define dnlc_update(dvp, name, vp) do { } while (0)
diff --git a/sys/compat/opensolaris/sys/dnlc.h b/sys/compat/opensolaris/sys/dnlc.h
index 889edac..a2d4f01 100644
--- a/sys/compat/opensolaris/sys/dnlc.h
+++ b/sys/compat/opensolaris/sys/dnlc.h
@@ -29,7 +29,7 @@
#ifndef _OPENSOLARIS_SYS_DNLC_H_
#define _OPENSOLARIS_SYS_DNLC_H_
-#define DNLC_NO_VNODE (NULL)
+#define DNLC_NO_VNODE ((void *)(intptr_t)0xdeadc0de)
#define dnlc_lookup(dvp, name) (NULL)
#define dnlc_update(dvp, name, vp) do { } while (0)
OpenPOWER on IntegriCloud