summaryrefslogtreecommitdiff
path: root/ext/fs/ops.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fs/ops.rs')
-rw-r--r--ext/fs/ops.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fs/ops.rs b/ext/fs/ops.rs
index c9eec94fa..dc279b60d 100644
--- a/ext/fs/ops.rs
+++ b/ext/fs/ops.rs
@@ -1450,7 +1450,7 @@ pub async fn op_fs_file_sync_data_async(
}
#[op2(fast)]
-pub fn op_fs_fsync_sync(
+pub fn op_fs_file_sync_sync(
state: &mut OpState,
#[smi] rid: ResourceId,
) -> Result<(), AnyError> {
@@ -1460,7 +1460,7 @@ pub fn op_fs_fsync_sync(
}
#[op2(async)]
-pub async fn op_fs_fsync_async(
+pub async fn op_fs_file_sync_async(
state: Rc<RefCell<OpState>>,
#[smi] rid: ResourceId,
) -> Result<(), AnyError> {