summaryrefslogtreecommitdiff
path: root/libdiskfs/lookup.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-22 21:01:56 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-22 21:01:56 +0000
commite5c8f495a83096d52c65dbd987e0f0d9b2a343a9 (patch)
tree6305882303f13484ab1a1e858417b6bcd1bf8a52 /libdiskfs/lookup.c
parent404d6c9588d3230d970017d04e6ea5383cbbcf39 (diff)
(diskfs_lookup): Dereference NP in call to diskfs_checkdirmod.
Diffstat (limited to 'libdiskfs/lookup.c')
-rw-r--r--libdiskfs/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/lookup.c b/libdiskfs/lookup.c
index 4e903f88..e2ee538c 100644
--- a/libdiskfs/lookup.c
+++ b/libdiskfs/lookup.c
@@ -113,7 +113,7 @@ diskfs_lookup (struct node *dp,
if (type == RENAME
|| (type == CREATE && err == ENOENT)
|| (type == REMOVE && err != ENOENT))
- err = diskfs_checkdirmod (dp, np, cred);
+ err = diskfs_checkdirmod (dp, *np, cred);
return err;
}