summaryrefslogtreecommitdiffstats
path: root/cmd-show-messages.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-03-20 13:45:18 +0000
committerThomas Adam <thomas@xteddy.org>2017-03-20 13:45:18 +0000
commit31ae09efa042d9cbe79df36c83890c806c9bd626 (patch)
tree048a94d907f34a79e4889b2e74d5f4f71c04d82d /cmd-show-messages.c
parent066575fd5ae6ffe5b1a7c8c54a7189ecac9cdec0 (diff)
parent67d2335130295f626cc87468fc069ecdedf2d92a (diff)
Merge branch 'obsd-master'
Conflicts: utf8.c
Diffstat (limited to 'cmd-show-messages.c')
-rw-r--r--cmd-show-messages.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-show-messages.c b/cmd-show-messages.c
index 143218ba..c88e0511 100644
--- a/cmd-show-messages.c
+++ b/cmd-show-messages.c
@@ -80,8 +80,8 @@ cmd_show_messages_jobs(struct cmdq_item *item, int blank)
cmdq_print(item, "%s", "");
blank = 0;
}
- cmdq_print(item, "Job %u: %s [fd=%d, pid=%d, status=%d]",
- n, job->cmd, job->fd, job->pid, job->status);
+ cmdq_print(item, "Job %u: %s [fd=%d, pid=%ld, status=%d]",
+ n, job->cmd, job->fd, (long)job->pid, job->status);
n++;
}
return (n != 0);