summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-30 02:31:24 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-30 02:31:24 +0000
commit77d7066abeea8bf80c422479775a34057ddf4b82 (patch)
tree141f67e9220a3253d874818ed23d76a3615a3c08 /process.c
parent28965ac88ad1a1c6403c4ae5a2d4ec9ae5d7151b (diff)
* process.c (pst_inspect): describe stopped process "stopped".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/process.c b/process.c
index e30818d..6d8cd25 100644
--- a/process.c
+++ b/process.c
@@ -162,10 +162,10 @@ pst_inspect(st)
int stopsig = WSTOPSIG(status);
char *signame = ruby_signal_name(stopsig);
if (signame) {
- snprintf(buf, sizeof(buf), ",signaled(SIG%s=%d)", signame, stopsig);
+ snprintf(buf, sizeof(buf), ",stopped(SIG%s=%d)", signame, stopsig);
}
else {
- snprintf(buf, sizeof(buf), ",signaled(%d)", stopsig);
+ snprintf(buf, sizeof(buf), ",stopped(%d)", stopsig);
}
rb_str_cat2(str, buf);
}