summaryrefslogtreecommitdiff
path: root/libdiskfs/diskfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/diskfs.h')
-rw-r--r--libdiskfs/diskfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index 42c71656..248aeb8e 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -902,7 +902,8 @@ error_t diskfs_dirrewrite (struct node *dp, struct node *oldnp,
call diskfs_notice_dirchange if DP->dirmod_reqs is nonzero. This
function is a wrapper for diskfs_dirremove_hard. The entry being
removed has name NAME and refers to NP. */
-error_t diskfs_dirremove (struct node *dp, char *np, char *name, struct dirstat *ds);
+error_t diskfs_dirremove (struct node *dp, struct node *np,
+ char *name, struct dirstat *ds);
/* Create a new node. Give it MODE; if that includes IFDIR, also
initialize `.' and `..' in the new directory. Return the node in NPP.