diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-11-26 17:20:40 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-11-26 17:20:40 +0200 |
commit | c60c5a53b6220b8e3b1140c31ddcf27e3cb83d5f (patch) | |
tree | 0ebbb591b5e41a0c04e8e7dbfc41e6618170ead7 | |
parent | 99c9c24069e390142c6b6c659ffccaeabde646fa (diff) | |
download | jumper-c60c5a53b6220b8e3b1140c31ddcf27e3cb83d5f.tar.gz jumper-c60c5a53b6220b8e3b1140c31ddcf27e3cb83d5f.tar.bz2 |
Improve debugging
-rw-r--r-- | src/progman.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/progman.c b/src/progman.c index ccbaccf..f8c09cc 100644 --- a/src/progman.c +++ b/src/progman.c @@ -101,7 +101,7 @@ proc_push(struct process **pp, struct process *p) static void proc_ts_link(struct process *p) { - debug(1, ("proc_ts_link: %lu, %d, %d", p->pid, p->type, p->stop)); + debug(3, ("proc_ts_link: %lu, %d, %d", p->pid, p->type, p->stop)); if (!ts_proc_list) { p->ts_next = p->ts_prev = NULL; ts_proc_list = ts_proc_tail = p; @@ -422,9 +422,7 @@ progman_start(int type, listener_t *lp, struct grecs_locus *loc, return -1; } - debug(1, ("%s:%d: starting %s", - loc->beg.file, loc->beg.line, - ws.ws_wordv[0])); + debug(1, ("%s:%d: starting %s", loc->beg.file, loc->beg.line, prog)); if (options & OPT_STDERR) { redir_fd[REDIR_ERR] = open_redirector(ws.ws_wordv[0], LOG_ERR, &redir_pid[REDIR_ERR]); |