diff options
Diffstat (limited to 'procps')
-rw-r--r-- | procps/fuser.c | 2 | ||||
-rw-r--r-- | procps/pidof.c | 2 | ||||
-rw-r--r-- | procps/top.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/procps/fuser.c b/procps/fuser.c index f65b05d98..60c10956b 100644 --- a/procps/fuser.c +++ b/procps/fuser.c | |||
@@ -292,7 +292,7 @@ static int fuser_print_pid_list(pid_list *plist) | |||
292 | printf("%d ", curr->pid); | 292 | printf("%d ", curr->pid); |
293 | curr = curr->next; | 293 | curr = curr->next; |
294 | } | 294 | } |
295 | puts(""); | 295 | bb_putchar('\n'); |
296 | return 1; | 296 | return 1; |
297 | } | 297 | } |
298 | 298 | ||
diff --git a/procps/pidof.c b/procps/pidof.c index c989076bb..962945253 100644 --- a/procps/pidof.c +++ b/procps/pidof.c | |||
@@ -76,7 +76,7 @@ int pidof_main(int argc, char **argv) | |||
76 | free(pidList); | 76 | free(pidList); |
77 | optind++; | 77 | optind++; |
78 | } | 78 | } |
79 | putchar('\n'); | 79 | bb_putchar('\n'); |
80 | 80 | ||
81 | #if ENABLE_FEATURE_PIDOF_OMIT | 81 | #if ENABLE_FEATURE_PIDOF_OMIT |
82 | if (ENABLE_FEATURE_CLEAN_UP) | 82 | if (ENABLE_FEATURE_CLEAN_UP) |
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 | } |