Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/miscfs/genfs/layer_subr.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/miscfs/genfs/layer_subr.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.7.2.4 retrieving revision 1.8 diff -u -p -r1.7.2.4 -r1.8 --- src/sys/miscfs/genfs/layer_subr.c 2002/02/28 04:14:56 1.7.2.4 +++ src/sys/miscfs/genfs/layer_subr.c 2001/06/07 13:32:47 1.8 @@ -1,4 +1,4 @@ -/* $NetBSD: layer_subr.c,v 1.7.2.4 2002/02/28 04:14:56 nathanw Exp $ */ +/* $NetBSD: layer_subr.c,v 1.8 2001/06/07 13:32:47 wiz Exp $ */ /* * Copyright (c) 1999 National Aeronautics & Space Administration @@ -71,13 +71,11 @@ * @(#)null_subr.c 8.7 (Berkeley) 5/14/95 */ -#include -__KERNEL_RCSID(0, "$NetBSD: layer_subr.c,v 1.7.2.4 2002/02/28 04:14:56 nathanw Exp $"); - #include #include #include #include +#include #include #include #include @@ -198,7 +196,7 @@ layer_node_alloc(mp, lowervp, vpp) vp->v_type = lowervp->v_type; vp->v_flag |= VLAYER; - xp = malloc(lmp->layerm_size, M_TEMP, M_WAITOK); + MALLOC(xp, struct layer_node *, lmp->layerm_size, M_TEMP, M_WAITOK); if (vp->v_type == VBLK || vp->v_type == VCHR) { MALLOC(vp->v_specinfo, struct specinfo *, sizeof(struct specinfo), M_VNODE, M_WAITOK);