diff options
| author | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-09-30 17:00:56 +0000 |
|---|---|---|
| committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-09-30 17:00:56 +0000 |
| commit | 1a6fc8ef63052fce9a2ec5445fea3e805aecd641 (patch) | |
| tree | 3328d4867cddc79a63921a6a183e68a717c493b6 /sys | |
| parent | 46ae3bbfeaf8cede2a0338ef19d488c4b81aeccb (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/kern_descrip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index e5dec1c97f2ad..d28a798581cee 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -44,6 +44,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/lock.h> +#include <sys/malloc.h> #include <sys/mutex.h> #include <sys/sysproto.h> #include <sys/conf.h> @@ -56,7 +57,6 @@ #include <sys/stat.h> #include <sys/filio.h> #include <sys/fcntl.h> -#include <sys/malloc.h> #include <sys/unistd.h> #include <sys/resourcevar.h> #include <sys/event.h> @@ -1182,9 +1182,9 @@ fdfree(td) if (fdp->fd_jdir) vrele(fdp->fd_jdir); if (fdp->fd_knlist) - FREE(fdp->fd_knlist, M_TEMP); + FREE(fdp->fd_knlist, M_KQUEUE); if (fdp->fd_knhash) - FREE(fdp->fd_knhash, M_TEMP); + FREE(fdp->fd_knhash, M_KQUEUE); FREE(fdp, M_FILEDESC); } |
