diff options
Diffstat (limited to 'fuse')
-rw-r--r-- | fuse/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fuse/main.c b/fuse/main.c index a37256d..409e503 100644 --- a/fuse/main.c +++ b/fuse/main.c @@ -72,9 +72,9 @@ static int fuse_exfat_truncate(const char* path, off_t size) if (rc != 0) return rc; - exfat_truncate(&ef, node, size); + rc = exfat_truncate(&ef, node, size); exfat_put_node(&ef, node); - return 0; + return rc; } static int fuse_exfat_readdir(const char* path, void* buffer, |