diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-02 00:59:35 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-02 00:59:35 +0100 |
commit | 099e528919e2219772265e99ab8a43d188c1b8db (patch) | |
tree | 0c8cece10d0aa44a014bc71e9f9ffcb5bfa8bb14 /miscutils | |
parent | c5830bdf6558edbc567d7c5dce1ff8059049e202 (diff) | |
download | busybox-w32-099e528919e2219772265e99ab8a43d188c1b8db.tar.gz busybox-w32-099e528919e2219772265e99ab8a43d188c1b8db.tar.bz2 busybox-w32-099e528919e2219772265e99ab8a43d188c1b8db.zip |
ps: implement -o stat
function old new delta
func_stat - 24 +24
out_spec 300 320 +20
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r-- | miscutils/timeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/timeout.c b/miscutils/timeout.c index 48b8d8fc0..841669416 100644 --- a/miscutils/timeout.c +++ b/miscutils/timeout.c | |||
@@ -83,7 +83,7 @@ int timeout_main(int argc UNUSED_PARAM, char **argv) | |||
83 | bb_daemonize_or_rexec(0, argv); | 83 | bb_daemonize_or_rexec(0, argv); |
84 | /* Here we are grandchild. Sleep, then kill grandparent */ | 84 | /* Here we are grandchild. Sleep, then kill grandparent */ |
85 | grandchild: | 85 | grandchild: |
86 | /* Just sleep(NUGE_NUM); kill(parent) may kill wrong process! */ | 86 | /* Just sleep(HUGE_NUM); kill(parent) may kill wrong process! */ |
87 | while (1) { | 87 | while (1) { |
88 | sleep(1); | 88 | sleep(1); |
89 | if (--timeout <= 0) | 89 | if (--timeout <= 0) |