summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh-add.c b/ssh-add.c
index a51f477a5..e24a94d71 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -10,7 +10,7 @@
10 */ 10 */
11 11
12#include "includes.h" 12#include "includes.h"
13RCSID("$OpenBSD: ssh-add.c,v 1.19 2000/08/19 21:34:43 markus Exp $"); 13RCSID("$OpenBSD: ssh-add.c,v 1.20 2000/08/28 03:50:54 deraadt Exp $");
14 14
15#include <openssl/evp.h> 15#include <openssl/evp.h>
16#include <openssl/rsa.h> 16#include <openssl/rsa.h>
@@ -260,7 +260,8 @@ main(int argc, char **argv)
260 if (no_files) { 260 if (no_files) {
261 pw = getpwuid(getuid()); 261 pw = getpwuid(getuid());
262 if (!pw) { 262 if (!pw) {
263 fprintf(stderr, "No user found with uid %d\n", (int) getuid()); 263 fprintf(stderr, "No user found with uid %u\n",
264 (u_int)getuid());
264 ssh_close_authentication_connection(ac); 265 ssh_close_authentication_connection(ac);
265 exit(1); 266 exit(1);
266 } 267 }