Skip to content

Commit

Permalink
src: fix size of CounterSet
Browse files Browse the repository at this point in the history
PR-URL: #16984
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
wip0 authored and MylesBorins committed Dec 11, 2017
1 parent a37eb32 commit 3ab3b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_win32_perfctr_provider.cc
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ void InitPerfCountersWin32() {

status = perfctr_setCounterSetInfo(NodeCounterProvider,
&NodeCounterSetInfo.CounterSet,
sizeof(NodeCounterSetInfo));
sizeof(NodeCounterSetInfo.CounterSet));
if (status != ERROR_SUCCESS) {
perfctr_stopProvider(NodeCounterProvider);
NodeCounterProvider = nullptr;
Expand Down

0 comments on commit 3ab3b0d

Please sign in to comment.