From e5c8f495a83096d52c65dbd987e0f0d9b2a343a9 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 22 Mar 1996 21:01:56 +0000 Subject: (diskfs_lookup): Dereference NP in call to diskfs_checkdirmod. --- libdiskfs/lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs') 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; } -- cgit v1.2.3