summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-25 16:10:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-08-25 16:10:06 +0000
commit0602efdff88a788a5883825bed597c0cb66c72bb (patch)
tree1f1f2b17d60b20ae09290d1c4d60b0a11006adcd
parentcb4d594c36cd6f187f1f8e30ac907dc03ef626ea (diff)
Wall
-rw-r--r--usr.bin/ssh/session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c
index 1dd36fe3b6c..1d821c3b8a3 100644
--- a/usr.bin/ssh/session.c
+++ b/usr.bin/ssh/session.c
@@ -8,7 +8,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: session.c,v 1.29 2000/08/21 16:23:31 millert Exp $");
+RCSID("$OpenBSD: session.c,v 1.30 2000/08/25 16:10:05 deraadt Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -1007,7 +1007,7 @@ do_child(const char *command, struct passwd * pw, const char *term,
if (screen != NULL)
fprintf(stderr,
"Adding %.*s/unix%s %s %s\n",
- screen-display, display,
+ (int)(screen-display), display,
screen, auth_proto, auth_data);
}
snprintf(cmd, sizeof cmd, "%s -q -",
@@ -1018,7 +1018,7 @@ do_child(const char *command, struct passwd * pw, const char *term,
auth_proto, auth_data);
if (screen != NULL)
fprintf(f, "add %.*s/unix%s %s %s\n",
- screen-display, display,
+ (int)(screen-display), display,
screen, auth_proto, auth_data);
pclose(f);
} else {