namlen is u_int16_t now.
This commit is contained in:
parent
b02ca699ef
commit
2ebf2b2fc3
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: filecore_node.h,v 1.2 2003/08/07 16:31:38 agc Exp $ */
|
||||
/* $NetBSD: filecore_node.h,v 1.3 2005/08/19 04:47:55 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The Regents of the University of California.
|
||||
|
@ -138,6 +138,6 @@ void filecore_ihashrem __P((struct filecore_node *));
|
|||
mode_t filecore_mode __P((struct filecore_node *));
|
||||
struct timespec filecore_time __P((struct filecore_node *));
|
||||
ino_t filecore_getparent __P((struct filecore_node *));
|
||||
int filecore_fn2unix __P((char *, char *, u_int8_t *));
|
||||
int filecore_fn2unix __P((char *, char *, u_int16_t *));
|
||||
int filecore_fncmp __P((const char *, const char *, u_short));
|
||||
int filecore_dbread __P((struct filecore_node *, struct buf **));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: filecore_utils.c,v 1.4 2005/05/17 04:14:58 christos Exp $ */
|
||||
/* $NetBSD: filecore_utils.c,v 1.5 2005/08/19 04:47:55 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The Regents of the University of California.
|
||||
|
@ -102,7 +102,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: filecore_utils.c,v 1.4 2005/05/17 04:14:58 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: filecore_utils.c,v 1.5 2005/08/19 04:47:55 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -310,7 +310,7 @@ int
|
|||
filecore_fn2unix(fcfn, ufn, len)
|
||||
char *fcfn;
|
||||
char *ufn;
|
||||
u_int8_t *len;
|
||||
u_int16_t *len;
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: filecore_vnops.c,v 1.12 2005/08/19 04:45:47 christos Exp $ */
|
||||
/* $NetBSD: filecore_vnops.c,v 1.13 2005/08/19 04:47:55 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The Regents of the University of California.
|
||||
|
@ -66,7 +66,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: filecore_vnops.c,v 1.12 2005/08/19 04:45:47 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: filecore_vnops.c,v 1.13 2005/08/19 04:47:55 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -343,6 +343,7 @@ filecore_readdir(v)
|
|||
else
|
||||
de.d_type = DT_REG;
|
||||
if (filecore_fn2unix(dep->name, de.d_name,
|
||||
/*###346 [cc] warning: passing arg 3 of `filecore_fn2unix' from incompatible pointer type%%%*/
|
||||
&de.d_namlen)) {
|
||||
*ap->a_eofflag = 1;
|
||||
goto out;
|
||||
|
|
Loading…
Reference in New Issue