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 <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
wip0 authored and MylesBorins committed Dec 19, 2017
1 parent 39cd0a8 commit f11acca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_win32_perfctr_provider.cc
Expand Up @@ -159,7 +159,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 f11acca

Please sign in to comment.