summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--blaze822.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blaze822.c b/blaze822.c
index cd402f1..79b1a23 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -428,7 +428,7 @@ blaze822_file(char *file)
 {
 	int fd = open(file, O_RDONLY);
 	if (fd < 0)
-		return fd;
+		return 0;
 
 	struct stat st;
 	if (fstat(fd, &st) < 0)