diff options
Diffstat (limited to 'src/unix/fs.c')
-rw-r--r-- | src/unix/fs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/fs.c b/src/unix/fs.c index 6d810deb..d555491a 100644 --- a/src/unix/fs.c +++ b/src/unix/fs.c @@ -1910,6 +1910,9 @@ int uv_fs_ftruncate(uv_loop_t* loop, INIT(FTRUNCATE); req->file = file; req->off = off; + if (cb != NULL) + if (uv__iou_fs_ftruncate(loop, req)) + return 0; POST; } |