From cff38d5a7933713b5ccd8838c677851d79c9b09a Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Tue, 6 Jul 1999 00:09:18 +0000 Subject: Mon Jul 5 20:04:58 1999 Thomas Bushnell, BSG * dir.c (diskfs_lookup_hard): Repair typo. Reported by Yamashita TAKAO . --- ufs/ChangeLog | 5 +++++ ufs/dir.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'ufs') diff --git a/ufs/ChangeLog b/ufs/ChangeLog index 8791b327..4a983183 100644 --- a/ufs/ChangeLog +++ b/ufs/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 5 20:04:58 1999 Thomas Bushnell, BSG + + * dir.c (diskfs_lookup_hard): Repair typo. Reported by Yamashita + TAKAO . + 1999-07-03 Thomas Bushnell, BSG * dir.c (diskfs_lookup_hard): Use munmap instead of diff --git a/ufs/dir.c b/ufs/dir.c index c17549c2..c0352d03 100644 --- a/ufs/dir.c +++ b/ufs/dir.c @@ -295,7 +295,7 @@ diskfs_lookup_hard (struct node *dp, const char *name, enum lookup_type type, || !ds || ds->type == LOOKUP) { - vm_deallocate ((caddr_t) buf, buflen); + munmap ((caddr_t) buf, buflen); if (ds) ds->type = LOOKUP; /* set to be ignored by drop_dirstat */ } -- cgit v1.2.3