diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-18 22:29:43 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-22 01:00:23 +0200 |
commit | d0cd29a9196763270421280e97bf53a49a3db85c (patch) | |
tree | 7e7d05d7619281c666258fcddae9164fd61e38ab /src/macos_mach_smi.c | |
parent | 99e33cc6d52402d77c2be0409386461281e86be0 (diff) |
unified rrdset and rrddim to use enum for flags
Diffstat (limited to 'src/macos_mach_smi.c')
-rw-r--r-- | src/macos_mach_smi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macos_mach_smi.c b/src/macos_mach_smi.c index 9b8e1e9b31..da28255137 100644 --- a/src/macos_mach_smi.c +++ b/src/macos_mach_smi.c @@ -137,7 +137,7 @@ int do_macos_mach_smi(int update_every, usec_t dt) { if (unlikely(!st)) { st = rrdset_create_localhost("mem", "pgfaults", NULL, "system", NULL, "Memory Page Faults" , "page faults/s", 500, update_every, RRDSET_TYPE_LINE); - st->isdetail = 1; + rrdset_flag_set(st, RRDSET_FLAG_DETAIL); rrddim_add(st, "memory", NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL); rrddim_add(st, "cow", NULL, 1, 1, RRD_ALGORITHM_INCREMENTAL); |