diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-03-22 21:01:56 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-03-22 21:01:56 +0000 |
commit | e5c8f495a83096d52c65dbd987e0f0d9b2a343a9 (patch) | |
tree | 6305882303f13484ab1a1e858417b6bcd1bf8a52 /libdiskfs/lookup.c | |
parent | 404d6c9588d3230d970017d04e6ea5383cbbcf39 (diff) |
(diskfs_lookup): Dereference NP in call to diskfs_checkdirmod.
Diffstat (limited to 'libdiskfs/lookup.c')
-rw-r--r-- | libdiskfs/lookup.c | 2 |
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; } |