aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/passthrough_ll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c
index e1a36ef..fa8abb8 100644
--- a/example/passthrough_ll.c
+++ b/example/passthrough_ll.c
@@ -634,7 +634,7 @@ static void lo_opendir(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi
int error = ENOMEM;
struct lo_data *lo = lo_data(req);
struct lo_dirp *d;
- int fd;
+ int fd = -1;
d = calloc(1, sizeof(struct lo_dirp));
if (d == NULL)