diff options
Diffstat (limited to 'src/node_os.cc')
-rw-r--r-- | src/node_os.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_os.cc b/src/node_os.cc index 131e3805568..12a4ec3551a 100644 --- a/src/node_os.cc +++ b/src/node_os.cc @@ -171,7 +171,7 @@ static void GetLoadAvg(const FunctionCallbackInfo<Value>& args) { Local<Float64Array> array = args[0].As<Float64Array>(); CHECK_EQ(array->Length(), 3); Local<ArrayBuffer> ab = array->Buffer(); - double* loadavg = static_cast<double*>(ab->GetContents().Data()); + double* loadavg = static_cast<double*>(ab->GetBackingStore()->Data()); uv_loadavg(loadavg); } |