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)
- 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 700925c8c..3b7a6f8e3 100644
--- a/monitor.c
+++ b/monitor.c
@@ -25,7 +25,7 @@
25 */ 25 */
26 26
27#include "includes.h" 27#include "includes.h"
28RCSID("$OpenBSD: monitor.c,v 1.40 2003/05/14 08:57:49 markus Exp $"); 28RCSID("$OpenBSD: monitor.c,v 1.41 2003/05/24 09:30:40 djm Exp $");
29 29
30#include <openssl/dh.h> 30#include <openssl/dh.h>
31 31
@@ -1164,7 +1164,7 @@ mm_record_login(Session *s, struct passwd *pw)
1164static void 1164static void
1165mm_session_close(Session *s) 1165mm_session_close(Session *s)
1166{ 1166{
1167 debug3("%s: session %d pid %d", __func__, s->self, s->pid); 1167 debug3("%s: session %d pid %ld", __func__, s->self, (long)s->pid);
1168 if (s->ttyfd != -1) { 1168 if (s->ttyfd != -1) {
1169 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd); 1169 debug3("%s: tty %s ptyfd %d", __func__, s->tty, s->ptyfd);
1170 fatal_remove_cleanup(session_pty_cleanup2, (void *)s); 1170 fatal_remove_cleanup(session_pty_cleanup2, (void *)s);