summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-13 09:08:27 +0100
committerDenys Vlasenko2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /procps
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip
busybox-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 1f82069..e418046 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 e940045..be11a1b 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);