diff options
author | dg <dg@FreeBSD.org> | 1994-08-20 03:49:02 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-20 03:49:02 +0000 |
commit | c97639b9230d9c3f9032d935d7892c5b513c8814 (patch) | |
tree | f43f29ef28a2342dd7be499cf286557b75ae9f56 /sys/kern/vfs_lookup.c | |
parent | 255b8baf81cdff10b66cd0893b98779e34305ff1 (diff) | |
download | FreeBSD-src-c97639b9230d9c3f9032d935d7892c5b513c8814.zip FreeBSD-src-c97639b9230d9c3f9032d935d7892c5b513c8814.tar.gz |
1) cleaned up after Garrett - fixed more redundant declarations, changed
use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers.
2) fix a bug in the portalfs that was uncovered by better prototyping -
specifically, the time must be converted from timeval to timespec
before storing in va_atime.
3) fixed/added some miscellaneous prototypes
Diffstat (limited to 'sys/kern/vfs_lookup.c')
-rw-r--r-- | sys/kern/vfs_lookup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c index 50c48ad..a6e9469 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_lookup.c 8.4 (Berkeley) 2/16/94 - * $Id: vfs_lookup.c,v 1.2 1994/08/02 07:43:25 davidg Exp $ + * $Id: vfs_lookup.c,v 1.3 1994/08/18 22:35:08 wollman Exp $ */ #include <sys/param.h> @@ -106,10 +106,10 @@ namei(ndp) MALLOC(cnp->cn_pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK); if (ndp->ni_segflg == UIO_SYSSPACE) error = copystr(ndp->ni_dirp, cnp->cn_pnbuf, - MAXPATHLEN, &ndp->ni_pathlen); + MAXPATHLEN, (u_int *)&ndp->ni_pathlen); else error = copyinstr(ndp->ni_dirp, cnp->cn_pnbuf, - MAXPATHLEN, &ndp->ni_pathlen); + MAXPATHLEN, (u_int *)&ndp->ni_pathlen); if (error) { free(cnp->cn_pnbuf, M_NAMEI); ndp->ni_vp = NULL; |