Skip to content

Commit 092bfb3

Browse files
committed
fixup! fs: implement lutimes
1 parent 0884952 commit 092bfb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_file.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2262,7 +2262,7 @@ static void LUTimes(const FunctionCallbackInfo<Value>& args) {
22622262
CHECK(args[2]->IsNumber());
22632263
const double mtime = args[2].As<Number>()->Value();
22642264

2265-
FSReqBase* req_wrap_async = GetReqWrap(args, 3);
2265+
FSReqBase* req_wrap_async = GetReqWrap(env, args[3]);
22662266
if (req_wrap_async != nullptr) { // lutimes(path, atime, mtime, req)
22672267
AsyncCall(env, req_wrap_async, args, "lutime", UTF8, AfterNoArgs,
22682268
uv_fs_lutime, *path, atime, mtime);

0 commit comments

Comments
 (0)