summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-14 02:23:43 +0000
committerDenis Vlasenko2006-10-14 02:23:43 +0000
commitea62077b850076c4d7dc3cf78ebd1888928c6ddf (patch)
tree37b7584ae40b99edb5583fbc4392b62ffdadf278 /procps
parent88ca06769028e442bf873b270c176ca0e9f021f8 (diff)
downloadbusybox-ea62077b850076c4d7dc3cf78ebd1888928c6ddf.zip
busybox-ea62077b850076c4d7dc3cf78ebd1888928c6ddf.tar.gz
add open_read_close() and similar stuff
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 aae24f5..4906797 100644
--- a/procps/fuser.c
+++ b/procps/fuser.c
@@ -292,7 +292,7 @@ static int fuser_kill_pid_list(pid_list *plist, int sig)
if(curr->pid > 0 && curr->pid != mypid) {
if (kill(curr->pid, sig) != 0) {
bb_perror_msg(
- "Could not kill pid '%d'", curr->pid);
+ "cannot kill pid '%d'", curr->pid);
success = 0;
}
}
@@ -342,7 +342,7 @@ int fuser_main(int argc, char **argv)
if(!fuser_file_to_dev_inode(
argv[fni[i]], &dev, &inode)) {
if (ENABLE_FEATURE_CLEAN_UP) free(inodes);
- bb_perror_msg_and_die("Could not open '%s'", argv[fni[i]]);
+ bb_perror_msg_and_die("cannot open '%s'", argv[fni[i]]);
}
fuser_add_inode(inodes, dev, inode);
}
diff --git a/procps/top.c b/procps/top.c
index 14a3870..06a84c9 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -448,7 +448,7 @@ int top_main(int argc, char **argv)
memcpy(top + n, p, sizeof(procps_status_t));
}
if (ntop == 0) {
- bb_error_msg_and_die("Can't find process info in /proc");
+ bb_error_msg_and_die("can't find process info in /proc");
}
#ifdef CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
if (!prev_hist_count) {