diff options
author | Damien Miller <djm@mindrot.org> | 2003-05-25 14:38:33 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-05-25 14:38:33 +1000 |
commit | 04bd8b0bcc92eca7304898ce35705e0f403514c1 (patch) | |
tree | a4bfa854b5bce1e1d4f6a2214bdc30f3b5611974 /monitor.c | |
parent | c11fe255ab45b8cf7783cedbcd688b00ed5308aa (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | RCSID("$OpenBSD: monitor.c,v 1.40 2003/05/14 08:57:49 markus Exp $"); | 28 | RCSID("$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) | |||
1164 | static void | 1164 | static void |
1165 | mm_session_close(Session *s) | 1165 | mm_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); |