summaryrefslogtreecommitdiff
path: root/procps/fuser.c
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/fuser.c
parent88ca06769028e442bf873b270c176ca0e9f021f8 (diff)
downloadbusybox-ea62077b850076c4d7dc3cf78ebd1888928c6ddf.zip
busybox-ea62077b850076c4d7dc3cf78ebd1888928c6ddf.tar.gz
add open_read_close() and similar stuff
Diffstat (limited to 'procps/fuser.c')
-rw-r--r--procps/fuser.c4
1 files changed, 2 insertions, 2 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);
}