summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-06 00:09:18 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-06 00:09:18 +0000
commit490d27a97e87769f04becd62bdfe3a783ee66c97 (patch)
tree9c516b807de3eb012b0936713bd33a753a31b398
parent022849d0b80dcb7b46f4f9dcb7c3af7bba95cf39 (diff)
Mon Jul 5 20:04:58 1999 Thomas Bushnell, BSG <tb@mit.edu>
* dir.c (diskfs_lookup_hard): Repair typo. Reported by Yamashita TAKAO <jargon@lares.dti.ne.jp>.
-rw-r--r--ufs/ChangeLog5
-rw-r--r--ufs/dir.c2
2 files changed, 6 insertions, 1 deletions
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 <tb@mit.edu>
+
+ * dir.c (diskfs_lookup_hard): Repair typo. Reported by Yamashita
+ TAKAO <jargon@lares.dti.ne.jp>.
+
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* 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 */
}