diff options
Diffstat (limited to 'procps')
| -rw-r--r-- | procps/kill.c | 4 | ||||
| -rw-r--r-- | procps/ps.c | 2 |
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) | |||
| 195 | continue; | 195 | continue; |
| 196 | errors++; | 196 | errors++; |
| 197 | if (!quiet) | 197 | if (!quiet) |
| 198 | bb_perror_msg("cannot kill pid %u", (unsigned)*pl); | 198 | bb_perror_msg("can't kill pid %u", (unsigned)*pl); |
| 199 | } | 199 | } |
| 200 | } | 200 | } |
| 201 | free(pidList); | 201 | free(pidList); |
| @@ -214,7 +214,7 @@ int kill_main(int argc, char **argv) | |||
| 214 | bb_error_msg("bad pid '%s'", arg); | 214 | bb_error_msg("bad pid '%s'", arg); |
| 215 | errors++; | 215 | errors++; |
| 216 | } else if (kill(pid, signo) != 0) { | 216 | } else if (kill(pid, signo) != 0) { |
| 217 | bb_perror_msg("cannot kill pid %d", (int)pid); | 217 | bb_perror_msg("can't kill pid %d", (int)pid); |
| 218 | errors++; | 218 | errors++; |
| 219 | } | 219 | } |
| 220 | arg = *++argv; | 220 | 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) | |||
| 143 | kernel_HZ = get_HZ_by_waiting(); | 143 | kernel_HZ = get_HZ_by_waiting(); |
| 144 | 144 | ||
| 145 | //if (open_read_close("/proc/uptime", buf, sizeof(buf) <= 0) | 145 | //if (open_read_close("/proc/uptime", buf, sizeof(buf) <= 0) |
| 146 | // bb_perror_msg_and_die("cannot read %s", "/proc/uptime"); | 146 | // bb_perror_msg_and_die("can't read %s", "/proc/uptime"); |
| 147 | //buf[sizeof(buf)-1] = '\0'; | 147 | //buf[sizeof(buf)-1] = '\0'; |
| 148 | ///sscanf(buf, "%llu", &seconds_since_boot); | 148 | ///sscanf(buf, "%llu", &seconds_since_boot); |
| 149 | sysinfo(&info); | 149 | sysinfo(&info); |
