summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-25 14:38:33 +1000
committerDamien Miller <djm@mindrot.org>2003-05-25 14:38:33 +1000
commit04bd8b0bcc92eca7304898ce35705e0f403514c1 (patch)
treea4bfa854b5bce1e1d4f6a2214bdc30f3b5611974 /monitor.c
parentc11fe255ab45b8cf7783cedbcd688b00ed5308aa (diff)
downloadopenssh-git-04bd8b0bcc92eca7304898ce35705e0f403514c1.tar.gz
- djm@cvs.openbsd.org 2003/05/24 09:30:40
[authfile.c monitor.c sftp-common.c sshpty.c] cast some types for printing; ok markus@
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index 700925c8..3b7a6f8e 100644
--- a/monitor.c
+++ b/monitor.c
@@ -25,7 +25,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: monitor.c,v 1.40 2003/05/14 08:57:49 markus Exp $");
+RCSID("$OpenBSD: monitor.c,v 1.41 2003/05/24 09:30:40 djm Exp $");
#include <openssl/dh.h>
@@ -1164,7 +1164,7 @@ mm_record_login(Session *s, struct passwd *pw)
static void
mm_session_close(Session *s)
{
- debug3("%s: session %d pid %d", __func__, s->self, s->pid);
+ debug3("%s: session %d pid %ld", __func__, s->self, (long)s->pid);
if (s->ttyfd != -1) {
debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd);
fatal_remove_cleanup(session_pty_cleanup2, (void *)s);