aboutsummaryrefslogtreecommitdiff
path: root/src/core/stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stats.h')
-rw-r--r--src/core/stats.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stats.h b/src/core/stats.h
index 950df78f..de1879ca 100644
--- a/src/core/stats.h
+++ b/src/core/stats.h
@@ -14,7 +14,7 @@
#include "core/defs.h"
// Statistics support. This is inspired in part by the Solaris
-// kstats framework, but we've simplified and tuned it for our use.
+// kernel stats framework, but we've simplified and tuned it for our use.
//
// Collection of the stats will be done in two steps. First we
// will walk the list of stats, with the chain held, allocating
@@ -45,7 +45,7 @@ struct nni_stat_item {
char * sv_string;
bool sv_bool;
int sv_id;
- } si_value;
+ } si_u;
};
struct nni_stat_info {