summaryrefslogtreecommitdiff
path: root/libdiskfs/lookup.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-16 02:40:36 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-16 02:40:36 +0000
commitef63c3e747d5f857c905e37b8bb84f97418fe2ee (patch)
treecc4f453095da1cd00e108ec4c8735a151713e4e5 /libdiskfs/lookup.c
parent5f1f11ca037b967d5448bef1e5bd7a4cd31ba86d (diff)
(diskfs_lookup): And do it correctly, at that.
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 d5fc0a4e..f38efed2 100644
--- a/libdiskfs/lookup.c
+++ b/libdiskfs/lookup.c
@@ -130,7 +130,7 @@ diskfs_lookup (struct node *dp, char *name, enum lookup_type type,
if (err2)
{
if (np)
- diskfs_nput (np);
+ diskfs_nput (*np);
return err2;
}
}