@@ -2859,23 +2859,23 @@ __print_funct_t render_filesystem_stats(struct activity *a, int isdb, char *pre,
2859
2859
render (isdb , pre , PT_USERND ,
2860
2860
"%s\tMBfsfree" ,
2861
2861
"%s" ,
2862
- cons (sv , sfc -> fs_name , NOVAL ),
2862
+ cons (sv , DISPLAY_MOUNT ( a -> opt_flags ) ? sfc -> mountp : sfc -> fs_name , NOVAL ),
2863
2863
NOVAL ,
2864
2864
(double ) sfc -> f_bfree / 1024 / 1024 ,
2865
2865
NULL );
2866
2866
2867
2867
render (isdb , pre , PT_USERND ,
2868
2868
"%s\tMBfsused" ,
2869
2869
NULL ,
2870
- cons (sv , sfc -> fs_name , NOVAL ),
2870
+ cons (sv , DISPLAY_MOUNT ( a -> opt_flags ) ? sfc -> mountp : sfc -> fs_name , NOVAL ),
2871
2871
NOVAL ,
2872
2872
(double ) (sfc -> f_blocks - sfc -> f_bfree ) / 1024 / 1024 ,
2873
2873
NULL );
2874
2874
2875
2875
render (isdb , pre , PT_NOFLAG ,
2876
2876
"%s\t%%fsused" ,
2877
2877
NULL ,
2878
- cons (sv , sfc -> fs_name , NOVAL ),
2878
+ cons (sv , DISPLAY_MOUNT ( a -> opt_flags ) ? sfc -> mountp : sfc -> fs_name , NOVAL ),
2879
2879
NOVAL ,
2880
2880
sfc -> f_blocks ? SP_VALUE (sfc -> f_bfree , sfc -> f_blocks , sfc -> f_blocks )
2881
2881
: 0.0 ,
@@ -2884,7 +2884,7 @@ __print_funct_t render_filesystem_stats(struct activity *a, int isdb, char *pre,
2884
2884
render (isdb , pre , PT_NOFLAG ,
2885
2885
"%s\t%%ufsused" ,
2886
2886
NULL ,
2887
- cons (sv , sfc -> fs_name , NOVAL ),
2887
+ cons (sv , DISPLAY_MOUNT ( a -> opt_flags ) ? sfc -> mountp : sfc -> fs_name , NOVAL ),
2888
2888
NOVAL ,
2889
2889
sfc -> f_blocks ? SP_VALUE (sfc -> f_bavail , sfc -> f_blocks , sfc -> f_blocks )
2890
2890
: 0.0 ,
@@ -2893,15 +2893,15 @@ __print_funct_t render_filesystem_stats(struct activity *a, int isdb, char *pre,
2893
2893
render (isdb , pre , PT_USEINT ,
2894
2894
"%s\tIfree" ,
2895
2895
NULL ,
2896
- cons (sv , sfc -> fs_name , NOVAL ),
2896
+ cons (sv , DISPLAY_MOUNT ( a -> opt_flags ) ? sfc -> mountp : sfc -> fs_name , NOVAL ),
2897
2897
sfc -> f_ffree ,
2898
2898
NOVAL ,
2899
2899
NULL );
2900
2900
2901
2901
render (isdb , pre , PT_USEINT ,
2902
2902
"%s\tIused" ,
2903
2903
NULL ,
2904
- cons (sv , sfc -> fs_name , NOVAL ),
2904
+ cons (sv , DISPLAY_MOUNT ( a -> opt_flags ) ? sfc -> mountp : sfc -> fs_name , NOVAL ),
2905
2905
sfc -> f_files - sfc -> f_ffree ,
2906
2906
NOVAL ,
2907
2907
NULL );
@@ -2910,7 +2910,7 @@ __print_funct_t render_filesystem_stats(struct activity *a, int isdb, char *pre,
2910
2910
(DISPLAY_HORIZONTALLY (flags ) ? PT_NOFLAG : PT_NEWLIN ),
2911
2911
"%s\t%%Iused" ,
2912
2912
NULL ,
2913
- cons (sv , sfc -> fs_name , NOVAL ),
2913
+ cons (sv , DISPLAY_MOUNT ( a -> opt_flags ) ? sfc -> mountp : sfc -> fs_name , NOVAL ),
2914
2914
NOVAL ,
2915
2915
sfc -> f_files ? SP_VALUE (sfc -> f_ffree , sfc -> f_files , sfc -> f_files )
2916
2916
: 0.0 ,
0 commit comments