aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/kill.c4
-rw-r--r--procps/ps.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/procps/kill.c b/procps/kill.c
index 1f8206986..e418046e7 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -195,7 +195,7 @@ int kill_main(int argc, char **argv)
continue;
errors++;
if (!quiet)
- bb_perror_msg("cannot kill pid %u", (unsigned)*pl);
+ bb_perror_msg("can't kill pid %u", (unsigned)*pl);
}
}
free(pidList);
@@ -214,7 +214,7 @@ int kill_main(int argc, char **argv)
bb_error_msg("bad pid '%s'", arg);
errors++;
} else if (kill(pid, signo) != 0) {
- bb_perror_msg("cannot kill pid %d", (int)pid);
+ bb_perror_msg("can't kill pid %d", (int)pid);
errors++;
}
arg = *++argv;
diff --git a/procps/ps.c b/procps/ps.c
index e94004541..be11a1b67 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -143,7 +143,7 @@ static unsigned get_kernel_HZ(void)
kernel_HZ = get_HZ_by_waiting();
//if (open_read_close("/proc/uptime", buf, sizeof(buf) <= 0)
- // bb_perror_msg_and_die("cannot read %s", "/proc/uptime");
+ // bb_perror_msg_and_die("can't read %s", "/proc/uptime");
//buf[sizeof(buf)-1] = '\0';
///sscanf(buf, "%llu", &seconds_since_boot);
sysinfo(&info);