aboutsummaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-07-01 20:35:16 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-07-01 20:35:16 +0000
commite5cf8594e813af20067355a4f63c6d3511b3b5fd (patch)
tree69a17531e01b8f66d8f2661243e4d122d3874212 /cmd.c
parentdd41035a4d71057108da8c7b5e1876cc02b4995c (diff)
downloadrtmux-e5cf8594e813af20067355a4f63c6d3511b3b5fd.tar.gz
rtmux-e5cf8594e813af20067355a4f63c6d3511b3b5fd.tar.bz2
rtmux-e5cf8594e813af20067355a4f63c6d3511b3b5fd.zip
long for pid.
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd.c b/cmd.c
index afac3092..e78b8fc9 100644
--- a/cmd.c
+++ b/cmd.c
@@ -1,4 +1,4 @@
-/* $Id: cmd.c,v 1.60 2008-06-29 07:04:30 nicm Exp $ */
+/* $Id: cmd.c,v 1.61 2008-07-01 20:35:16 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -309,7 +309,7 @@ cmd_current_session(struct cmd_ctx *ctx)
if (data != NULL && data->pid != -1) {
if (data->pid != getpid()) {
- ctx->error(ctx, "wrong server: %lld", data->pid);
+ ctx->error(ctx, "wrong server: %ld", (long) data->pid);
return (NULL);
}
if (data->idx > ARRAY_LENGTH(&sessions)) {