diff --git a/src/afs/afs_nfsdisp.c b/src/afs/afs_nfsdisp.c index ad7e73adb6..e4fbf9166e 100644 --- a/src/afs/afs_nfsdisp.c +++ b/src/afs/afs_nfsdisp.c @@ -678,7 +678,11 @@ nfs3_to_afs_call(int which, caddr_t *args, nfs_fh3 **fhpp, nfs_fh3 **fh2pp) case NFSPROC3_LOOKUP: { LOOKUP3args *arg = (LOOKUP3args *)args; +#ifdef AFS_SUN58_ENV fhp1 = (nfs_fh3 *) arg->what.dirp; +#else + fhp1 = (nfs_fh3 *) &arg->what.dir; +#endif break; } case NFSPROC3_ACCESS: