]> andersk Git - openssh.git/commitdiff
- djm@cvs.openbsd.org 2004/06/25 23:21:38
authordjm <djm>
Fri, 25 Jun 2004 23:21:06 +0000 (23:21 +0000)
committerdjm <djm>
Fri, 25 Jun 2004 23:21:06 +0000 (23:21 +0000)
     [sftp.c]
     bz #875: fix bad escape char error message; reported by f_mohr AT yahoo.de

ChangeLog
sftp.c

index 260c1d6885fe6d84212b4fb039f1be8f3c2f9188..764493d482b4d8612662358f4b8fcc74733e3cf6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
      [sshd.c]
      fix broken fd handling in the re-exec fallback path, particularly when
      /dev/crypto is in use; ok deraadt@ markus@
+   - djm@cvs.openbsd.org 2004/06/25 23:21:38
+     [sftp.c]
+     bz #875: fix bad escape char error message; reported by f_mohr AT yahoo.de
 
 20040625
  - (dtucker) OpenBSD CVS Sync
diff --git a/sftp.c b/sftp.c
index 6639672ca0c056c70e665ade84b0277253a681f7..1bc91a16e6262690e6387403df6d3a3c12e44888 100644 (file)
--- a/sftp.c
+++ b/sftp.c
@@ -16,7 +16,7 @@
 
 #include "includes.h"
 
-RCSID("$OpenBSD: sftp.c,v 1.54 2004/06/22 01:16:39 djm Exp $");
+RCSID("$OpenBSD: sftp.c,v 1.55 2004/06/25 23:21:38 djm Exp $");
 
 #include "buffer.h"
 #include "xmalloc.h"
@@ -428,7 +428,7 @@ get_pathname(const char **cpp, char **path)
                                i++;
                                if (cp[i] != '\'' && cp[i] != '\"' &&
                                    cp[i] != '\\') {
-                                       error("Bad escaped character '\%c'",
+                                       error("Bad escaped character '\\%c'",
                                            cp[i]);
                                        goto fail;
                                }
This page took 4.383951 seconds and 5 git commands to generate.