summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-02-11 14:12:08 +0000
committerKevin Steves <stevesk@pobox.com>2001-02-11 14:12:08 +0000
commit43cdef3ba58f4b7dd47787425c2cab8ceec64006 (patch)
treee6ba9f00bace375e802b3e2bf10027c5bc330b0e
parent432768612c21549792714fbc2c4fcf5e49f22a65 (diff)
missed session.c part of:
- stevesk@cvs.openbsd.org 2001/02/08 10:11:23 [session.c sftp-client.c] %i -> %d
-rw-r--r--session.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/session.c b/session.c
index 92fb31e0..d1870918 100644
--- a/session.c
+++ b/session.c
@@ -1532,7 +1532,7 @@ session_open(int chanid)
}
s->pw = auth_get_user();
if (s->pw == NULL)
- fatal("no user for session %i", s->self);
+ fatal("no user for session %d", s->self);
debug("session_open: session %d: link with channel %d", s->self, chanid);
s->chanid = chanid;
return 1;
@@ -1842,7 +1842,7 @@ session_pty_cleanup(Session *s)
if (s == NULL || s->ttyfd == -1)
return;
- debug("session_pty_cleanup: session %i release %s", s->self, s->tty);
+ debug("session_pty_cleanup: session %d release %s", s->self, s->tty);
/* Cancel the cleanup function. */
fatal_remove_cleanup(pty_cleanup_proc, (void *)s);
@@ -2008,7 +2008,6 @@ session_proctitle(Session *s)
void
do_authenticated2(Authctxt *authctxt)
{
-
/*
* Cancel the alarm we set to limit the time taken for
* authentication.