summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
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);