summaryrefslogtreecommitdiff
path: root/ufs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'ufs/dir.c')
-rw-r--r--ufs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/dir.c b/ufs/dir.c
index ab98d4bb..ff79cc1e 100644
--- a/ufs/dir.c
+++ b/ufs/dir.c
@@ -100,7 +100,7 @@ diskfs_lookup (struct node *dp, char *name, enum lookup_type type,
int blockaddr;
int idx;
- if (type == REMOVE)
+ if ((type == REMOVE) || (type == RENAME))
assert (npp);
if (npp)