]> granicus.if.org Git - sysstat/commitdiff
correct header so its always "filesystems"
authorSteve Kay <stevekay@gmail.com>
Fri, 27 Mar 2015 22:55:47 +0000 (15:55 -0700)
committerSteve Kay <stevekay@gmail.com>
Fri, 27 Mar 2015 22:55:47 +0000 (15:55 -0700)
json_stats.c

index 190452bf0eb29a601739edac2ed0c996e7f877fb..ef3f22b676e5996ad98ca258479738a35fbb7ca1 100644 (file)
@@ -2125,10 +2125,7 @@ __print_funct_t json_print_filesystem_stats(struct activity *a, int curr, int ta
        struct stats_filesystem *sfc;
        int sep = FALSE;
 
-       if(DISPLAY_MOUNT(a->opt_flags)) 
-               xprintf(tab++, "\"mountpoints\": [");
-       else
-               xprintf(tab++, "\"filesystems\": [");
+       xprintf(tab++, "\"filesystems\": [");
 
 
        for (i = 0; i < a->nr; i++) {