aboutsummaryrefslogtreecommitdiff
path: root/procps/top.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/top.c')
-rw-r--r--procps/top.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/procps/top.c b/procps/top.c
index e55cecccb..1b8c18516 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -482,7 +482,7 @@ static NOINLINE void display_process_list(int count, int scr_width)
482 s++; 482 s++;
483 } 483 }
484 /* printf(" %d", hist_iterations); */ 484 /* printf(" %d", hist_iterations); */
485 putchar(OPT_BATCH_MODE ? '\n' : '\r'); 485 bb_putchar(OPT_BATCH_MODE ? '\n' : '\r');
486 fflush(stdout); 486 fflush(stdout);
487} 487}
488#undef UPSCALE 488#undef UPSCALE
@@ -752,7 +752,7 @@ static NOINLINE void display_topmem_process_list(int count, int scr_width)
752 printf("\n""%.*s", scr_width, line_buf); 752 printf("\n""%.*s", scr_width, line_buf);
753 s++; 753 s++;
754 } 754 }
755 putchar(OPT_BATCH_MODE ? '\n' : '\r'); 755 bb_putchar(OPT_BATCH_MODE ? '\n' : '\r');
756 fflush(stdout); 756 fflush(stdout);
757#undef HDR_STR 757#undef HDR_STR
758#undef MIN_WIDTH 758#undef MIN_WIDTH
@@ -972,6 +972,6 @@ int top_main(int argc, char **argv)
972 } 972 }
973#endif /* FEATURE_USE_TERMIOS */ 973#endif /* FEATURE_USE_TERMIOS */
974 } 974 }
975 putchar('\n'); 975 bb_putchar('\n');
976 return EXIT_SUCCESS; 976 return EXIT_SUCCESS;
977} 977}