Permalink
Browse files

src: fix size of CounterSet

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 Nov 13, 2017
1 parent 39cd0a8 commit f11acca80cc31d1148dfab661ffb85e84b6e5b92
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/node_win32_perfctr_provider.cc
@@ -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;

0 comments on commit f11acca

Please sign in to comment.