u_long -> off_t, I missed the big endian case. From Juergen Hannken-Illjes
This commit is contained in:
parent
f1b992e36e
commit
93b08eefc2
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vfs_syscalls_43.c,v 1.6 1997/10/10 01:47:04 fvdl Exp $ */
|
||||
/* $NetBSD: vfs_syscalls_43.c,v 1.7 1997/10/10 13:03:32 fvdl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
|
@ -370,7 +370,7 @@ unionread:
|
|||
# if (BYTE_ORDER != LITTLE_ENDIAN)
|
||||
if (vp->v_mount->mnt_maxsymlinklen <= 0) {
|
||||
error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag,
|
||||
(u_long *)0, 0);
|
||||
(off_t *)0, 0);
|
||||
fp->f_offset = auio.uio_offset;
|
||||
} else
|
||||
# endif
|
||||
|
|
Loading…
Reference in New Issue