aboutsummaryrefslogtreecommitdiff
path: root/example/passthrough_ll.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/passthrough_ll.c')
-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 7ebf807..4242c86 100644
--- a/example/passthrough_ll.c
+++ b/example/passthrough_ll.c
@@ -327,7 +327,7 @@ static void lo_do_readdir(fuse_req_t req, fuse_ino_t ino, size_t size,
(void) ino;
- buf = calloc(size, 1);
+ buf = calloc(1, size);
if (!buf)
return (void) fuse_reply_err(req, ENOMEM);