diff options
author | pjd <pjd@FreeBSD.org> | 2007-05-24 13:44:45 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-05-24 13:44:45 +0000 |
commit | 257a0a9c286af01962301cbef984b642128ce08a (patch) | |
tree | c2dfabbaa25893f075f0df468549cd74fa0b48a1 /sys/cddl/compat | |
parent | 60ab7af6256302e2cc03ba7b3d298ecb6ba36d85 (diff) | |
download | FreeBSD-src-257a0a9c286af01962301cbef984b642128ce08a.zip FreeBSD-src-257a0a9c286af01962301cbef984b642128ce08a.tar.gz |
DNLC_NO_VNODE can't be NULL.
Reported by: ru
Diffstat (limited to 'sys/cddl/compat')
-rw-r--r-- | sys/cddl/compat/opensolaris/sys/dnlc.h | 2 |
1 files changed, 1 insertions, 1 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) |