diff options
Diffstat (limited to 'ot_stats.c')
-rw-r--r-- | ot_stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -614,8 +614,8 @@ static void stats_make( int *iovec_entries, struct iovec **iovector, ot_tasktype | |||
614 | case TASK_STATS_SLASH24S: r += stats_slash24s_txt( r, 128 ); break; | 614 | case TASK_STATS_SLASH24S: r += stats_slash24s_txt( r, 128 ); break; |
615 | case TASK_STATS_TOP10: r += stats_top_txt( r, 10 ); break; | 615 | case TASK_STATS_TOP10: r += stats_top_txt( r, 10 ); break; |
616 | case TASK_STATS_TOP100: | 616 | case TASK_STATS_TOP100: |
617 | if( !( r = iovec_increase( iovec_entries, iovector, 4*OT_STATS_TMPSIZE ) ) ) | 617 | r = iovec_fix_increase_or_free( iovec_entries, iovector, r, 4 * OT_STATS_TMPSIZE ); |
618 | return; | 618 | if( !r ) return; |
619 | r += stats_top_txt( r, 100 ); break; | 619 | r += stats_top_txt( r, 100 ); break; |
620 | case TASK_STATS_EVERYTHING: r += stats_return_everything( r ); break; | 620 | case TASK_STATS_EVERYTHING: r += stats_return_everything( r ); break; |
621 | #ifdef WANT_SPOT_WOODPECKER | 621 | #ifdef WANT_SPOT_WOODPECKER |