From: Steve Kay Date: Fri, 27 Mar 2015 22:55:47 +0000 (-0700) Subject: correct header so its always "filesystems" X-Git-Tag: v11.1.4~22^2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f2c3ef2baf9697be48d4af09d86c603efbb0697;p=sysstat correct header so its always "filesystems" --- diff --git a/json_stats.c b/json_stats.c index 190452b..ef3f22b 100644 --- a/json_stats.c +++ b/json_stats.c @@ -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++) {