aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/fuser.c4
-rw-r--r--procps/top.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/procps/fuser.c b/procps/fuser.c
index aae24f50c..4906797cf 100644
--- a/procps/fuser.c
+++ b/procps/fuser.c
@@ -292,7 +292,7 @@ static int fuser_kill_pid_list(pid_list *plist, int sig)
292 if(curr->pid > 0 && curr->pid != mypid) { 292 if(curr->pid > 0 && curr->pid != mypid) {
293 if (kill(curr->pid, sig) != 0) { 293 if (kill(curr->pid, sig) != 0) {
294 bb_perror_msg( 294 bb_perror_msg(
295 "Could not kill pid '%d'", curr->pid); 295 "cannot kill pid '%d'", curr->pid);
296 success = 0; 296 success = 0;
297 } 297 }
298 } 298 }
@@ -342,7 +342,7 @@ int fuser_main(int argc, char **argv)
342 if(!fuser_file_to_dev_inode( 342 if(!fuser_file_to_dev_inode(
343 argv[fni[i]], &dev, &inode)) { 343 argv[fni[i]], &dev, &inode)) {
344 if (ENABLE_FEATURE_CLEAN_UP) free(inodes); 344 if (ENABLE_FEATURE_CLEAN_UP) free(inodes);
345 bb_perror_msg_and_die("Could not open '%s'", argv[fni[i]]); 345 bb_perror_msg_and_die("cannot open '%s'", argv[fni[i]]);
346 } 346 }
347 fuser_add_inode(inodes, dev, inode); 347 fuser_add_inode(inodes, dev, inode);
348 } 348 }
diff --git a/procps/top.c b/procps/top.c
index 14a3870a1..06a84c90c 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -448,7 +448,7 @@ int top_main(int argc, char **argv)
448 memcpy(top + n, p, sizeof(procps_status_t)); 448 memcpy(top + n, p, sizeof(procps_status_t));
449 } 449 }
450 if (ntop == 0) { 450 if (ntop == 0) {
451 bb_error_msg_and_die("Can't find process info in /proc"); 451 bb_error_msg_and_die("can't find process info in /proc");
452 } 452 }
453#ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE 453#ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
454 if (!prev_hist_count) { 454 if (!prev_hist_count) {