From ea62077b850076c4d7dc3cf78ebd1888928c6ddf Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 14 Oct 2006 02:23:43 +0000 Subject: add open_read_close() and similar stuff --- procps/fuser.c | 4 ++-- procps/top.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'procps') 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) { -- cgit v1.1