DNLC_NO_VNODE can't be NULL.

Reported by:	ru
This commit is contained in:
pjd 2007-05-24 13:44:45 +00:00
parent 60ab7af625
commit 257a0a9c28
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)