summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--isofs/lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isofs/lookup.c b/isofs/lookup.c
index 3590f2d5..59e48cdc 100644
--- a/isofs/lookup.c
+++ b/isofs/lookup.c
@@ -69,7 +69,7 @@ error_t
diskfs_lookup_hard (struct node *dp, const char *name, enum lookup_type type,
struct node **npp, struct dirstat *ds, struct protid *cred)
{
- error_t err = 0;
+ error_t err = ENOENT;
struct lookup_context ctx;
int namelen;
int spec_dotdot;