]> andersk Git - openssh.git/commitdiff
- otto@cvs.openbsd.org 2005/02/16 09:56:44
authordjm <djm>
Tue, 1 Mar 2005 10:15:46 +0000 (10:15 +0000)
committerdjm <djm>
Tue, 1 Mar 2005 10:15:46 +0000 (10:15 +0000)
     [ssh.c]
     Better diagnostic if an identity file is not accesible. ok markus@ djm@

ChangeLog
ssh.c

index aba1cc77d86a7574c459a489634c7d2860d5407b..f0966013cd519966eb9a0f64d3da7092db189ae3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+20050301
+ - (djm) OpenBSD CVS sync:
+   - otto@cvs.openbsd.org 2005/02/16 09:56:44
+     [ssh.c]
+     Better diagnostic if an identity file is not accesible. ok markus@ djm@
+
 20050226
  - (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c]
    Remove two obsolete Cygwin #ifdefs.  Patch from vinschen at redhat.com.
diff --git a/ssh.c b/ssh.c
index ac537338c1474d19a56589ee59bc8c458b2def7b..1f50727e934a839dd192edd9043666a30a964361 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -40,7 +40,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.230 2004/11/07 17:57:30 jmc Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.231 2005/02/16 09:56:44 otto Exp $");
 
 #include <openssl/evp.h>
 #include <openssl/err.h>
@@ -297,7 +297,8 @@ again:
                case 'i':
                        if (stat(optarg, &st) < 0) {
                                fprintf(stderr, "Warning: Identity file %s "
-                                   "does not exist.\n", optarg);
+                                   "not accessible: %s.\n", optarg,
+                                   strerror(errno));
                                break;
                        }
                        if (options.num_identity_files >=
This page took 0.04393 seconds and 5 git commands to generate.