summaryrefslogtreecommitdiff
path: root/ufs
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
commitcff38d5a7933713b5ccd8838c677851d79c9b09a (patch)
treeb837d6933dbdf7b6ef291166f47cd56223103a34 /ufs
parentf481e1a162c36000c2b1ba3832314edcb6328d77 (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>.
Diffstat (limited to 'ufs')
-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 */
}