diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/passthrough_ll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c index 5372d02..d80b493 100644 --- a/example/passthrough_ll.c +++ b/example/passthrough_ll.c @@ -1155,7 +1155,7 @@ static void lo_copy_file_range(fuse_req_t req, fuse_ino_t ino_in, off_t off_in, res = copy_file_range(fi_in->fh, &off_in, fi_out->fh, &off_out, len, flags); if (res < 0) - fuse_reply_err(req, -errno); + fuse_reply_err(req, errno); else fuse_reply_write(req, res); } |