summaryrefslogtreecommitdiff
path: root/file/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file/file.c')
-rw-r--r--file/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file/file.c b/file/file.c
index ff220cb..e810e20 100644
--- a/file/file.c
+++ b/file/file.c
@@ -98,7 +98,7 @@ static bool try_related(struct file *file)
tmp = file_graft_relative(file->related->name, file->name);
if (!tmp)
- return NULL;
+ return 0;
if (*file->name == '/')
return 0;