diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-07-01 20:35:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-07-01 20:35:16 +0000 |
commit | e5cf8594e813af20067355a4f63c6d3511b3b5fd (patch) | |
tree | 69a17531e01b8f66d8f2661243e4d122d3874212 /cmd.c | |
parent | dd41035a4d71057108da8c7b5e1876cc02b4995c (diff) | |
download | rtmux-e5cf8594e813af20067355a4f63c6d3511b3b5fd.tar.gz rtmux-e5cf8594e813af20067355a4f63c6d3511b3b5fd.tar.bz2 rtmux-e5cf8594e813af20067355a4f63c6d3511b3b5fd.zip |
long for pid.
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) { |