summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-18 04:58:36 -0700
committerJohn Denker <jsd@av8n.com>2012-07-29 15:32:33 -0700
commitb02174df1578e5d869001446815f461fb48589aa (patch)
tree5b5eedde01fff2dfabb6f979ea8dd1c0dcb1d7be /tools
parentda0e79048c01344bc430833ef989469f52dd3f3d (diff)
minor upgrade to log/progress msg
Diffstat (limited to 'tools')
-rw-r--r--tools/hi-q.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/hi-q.c b/tools/hi-q.c
index 237dbd5..81e717a 100644
--- a/tools/hi-q.c
+++ b/tools/hi-q.c
@@ -514,11 +514,16 @@ int main(int argc, char** argv) {
waitpid(special_pid, &kidstatus, WUNTRACED);
if (WIFEXITED(kidstatus)) {
int sts = WEXITSTATUS(kidstatus);
- cerr << "hi-q ends with status: " << sts << endl;
+ cerr << "hi-q says: qq program " << kidpid[nkids-1]
+ << " i.e. '" << filter[nkids-1][0] << "'"
+ << " returned status " << sts
+ << endl;
return sts;
} else if (WIFSIGNALED(kidstatus)) {
- cerr << "hi-q: special kid was killed by signal "
- << WTERMSIG(kidstatus) << endl;
+ cerr << "hi-q says: qq program " << kidpid[nkids-1]
+ << " i.e. '" << filter[nkids-1][0] << "'"
+ << " was killed by signal " << WTERMSIG(kidstatus)
+ << endl;
return ex_syserr;
} else {
/* paused, not dead */