summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 79b6856da..21eff6c6b 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -8,7 +8,7 @@
8 */ 8 */
9 9
10#include "includes.h" 10#include "includes.h"
11RCSID("$OpenBSD: sshconnect.c,v 1.76 2000/06/17 20:30:10 markus Exp $"); 11RCSID("$OpenBSD: sshconnect.c,v 1.77 2000/08/28 03:50:54 deraadt Exp $");
12 12
13#include <openssl/bn.h> 13#include <openssl/bn.h>
14#include <openssl/dsa.h> 14#include <openssl/dsa.h>
@@ -193,8 +193,8 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr,
193 int gaierr; 193 int gaierr;
194 struct linger linger; 194 struct linger linger;
195 195
196 debug("ssh_connect: getuid %d geteuid %d anon %d", 196 debug("ssh_connect: getuid %u geteuid %u anon %d",
197 (int) getuid(), (int) geteuid(), anonymous); 197 (u_int) getuid(), (u_int) geteuid(), anonymous);
198 198
199 /* Get default port if port has not been set. */ 199 /* Get default port if port has not been set. */
200 if (port == 0) { 200 if (port == 0) {
@@ -669,7 +669,7 @@ ssh_login(int host_key_valid, RSA *own_host_key, const char *orighost,
669 /* Get local user name. Use it as server user if no user name was given. */ 669 /* Get local user name. Use it as server user if no user name was given. */
670 pw = getpwuid(original_real_uid); 670 pw = getpwuid(original_real_uid);
671 if (!pw) 671 if (!pw)
672 fatal("User id %d not found from user database.", original_real_uid); 672 fatal("User id %u not found from user database.", original_real_uid);
673 local_user = xstrdup(pw->pw_name); 673 local_user = xstrdup(pw->pw_name);
674 server_user = options.user ? options.user : local_user; 674 server_user = options.user ? options.user : local_user;
675 675