summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdiskfs/dir-clear.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dir-clear.c b/libdiskfs/dir-clear.c
index 0aaae1ed..7cf32358 100644
--- a/libdiskfs/dir-clear.c
+++ b/libdiskfs/dir-clear.c
@@ -30,7 +30,7 @@ diskfs_clear_directory (struct node *dp,
struct node *np;
/* Find and remove the `.' entry. */
- err = diskfs_lookup (dp, ".", REMOVE, &np, ds, cred, 1, 0);
+ err = diskfs_lookup (dp, ".", REMOVE, &np, ds, cred);
assert (err != ENOENT);
if (!err)
{
@@ -48,7 +48,7 @@ diskfs_clear_directory (struct node *dp,
dp->dn_set_ctime = 1;
/* Find and remove the `..' entry. */
- err = diskfs_lookup (dp, "..", REMOVE | SPEC_DOTDOT, &np, ds, cred, 1, 0);
+ err = diskfs_lookup (dp, "..", REMOVE | SPEC_DOTDOT, &np, ds, cred);
assert (err != ENOENT);
if (!err)
{