diff options
-rw-r--r-- | example/passthrough_ll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c index f0bc727..fc71784 100644 --- a/example/passthrough_ll.c +++ b/example/passthrough_ll.c @@ -928,7 +928,7 @@ static void lo_statfs(fuse_req_t req, fuse_ino_t ino) static void lo_fallocate(fuse_req_t req, fuse_ino_t ino, int mode, off_t offset, off_t length, struct fuse_file_info *fi) { - int err; + int err = EOPNOTSUPP; (void) ino; #ifdef HAVE_FALLOCATE @@ -936,7 +936,7 @@ static void lo_fallocate(fuse_req_t req, fuse_ino_t ino, int mode, if (err < 0) err = errno; -#elif HAVE_POSIX_FALLOCATE +#elif defined(HAVE_POSIX_FALLOCATE) if (mode) { fuse_reply_err(req, EOPNOTSUPP); return; |