X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fnetapp.c;h=1e0834b8175042464b417a27b75f751225eba9a8;hp=57fb59de5c5ef0be861729bcc24c400ca0d818ed;hb=7344a21b9e2099e2ed0e841af21e6044dec41b6a;hpb=a9fa8d97fe0eaa49ea1c5e7a1ca031dd03a84f5f diff --git a/src/netapp.c b/src/netapp.c index 57fb59de..1e0834b8 100644 --- a/src/netapp.c +++ b/src/netapp.c @@ -1293,6 +1293,7 @@ static int cna_handle_volume_usage_data (const char *hostname, /* {{{ */ if ((sis_saved_reported >> 32) != 0) { /* In case they ever fix this bug. */ v->sis_saved = sis_saved_reported; + v->flags |= HAVE_VOLUME_USAGE_SIS_SAVED; } else { /* really hacky work-around code. {{{ */ uint64_t sis_saved_percent; uint64_t sis_saved_guess; @@ -1336,6 +1337,7 @@ static int cna_handle_volume_usage_data (const char *hostname, /* {{{ */ else v->sis_saved = guess3; } + v->flags |= HAVE_VOLUME_USAGE_SIS_SAVED; } /* }}} end of 32-bit workaround */ } /* for (elem_volume) */