summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2001-02-08 17:11:24 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2001-02-08 17:11:24 +0000
commit96ecbdfaca6e0d37ad1266243b38b3b4e8bf15c6 (patch)
tree95c2e3df00e4d4880fedd4375005a19f5837328a
parent81fd844f2f897c4a87ce998bfe50f3f6bed2e908 (diff)
%i -> %d
-rw-r--r--usr.bin/ssh/session.c6
-rw-r--r--usr.bin/ssh/sftp-client.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c
index ade4f1ed30f..203dbf6b862 100644
--- a/usr.bin/ssh/session.c
+++ b/usr.bin/ssh/session.c
@@ -33,7 +33,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: session.c,v 1.53 2001/02/04 15:32:25 stevesk Exp $");
+RCSID("$OpenBSD: session.c,v 1.54 2001/02/08 17:11:23 stevesk Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -1205,7 +1205,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;
@@ -1515,7 +1515,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);
diff --git a/usr.bin/ssh/sftp-client.c b/usr.bin/ssh/sftp-client.c
index cb6bdcfd6a7..490c00bdd86 100644
--- a/usr.bin/ssh/sftp-client.c
+++ b/usr.bin/ssh/sftp-client.c
@@ -29,7 +29,7 @@
/* XXX: copy between two remote sites */
#include "includes.h"
-RCSID("$OpenBSD: sftp-client.c,v 1.7 2001/02/07 21:58:34 markus Exp $");
+RCSID("$OpenBSD: sftp-client.c,v 1.8 2001/02/08 17:11:23 stevesk Exp $");
#include "ssh.h"
#include "buffer.h"
@@ -340,7 +340,7 @@ do_ls(int fd_in, int fd_out, char *path)
count = buffer_get_int(&msg);
if (count == 0)
break;
- debug3("Received %i SSH2_FXP_NAME responses", count);
+ debug3("Received %d SSH2_FXP_NAME responses", count);
for(i = 0; i < count; i++) {
char *filename, *longname;
Attrib *a;