- 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
diff --git a/ChangeLog b/ChangeLog
index 2eff2d4..a29fecc 100644
--- 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
@@ -1430,4 +1433,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.3451 2004/06/25 22:16:31 djm Exp $
+$Id: ChangeLog,v 1.3452 2004/06/25 23:21:06 djm Exp $
diff --git a/sftp.c b/sftp.c
index 6639672..1bc91a1 100644
--- 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 @@
i++;
if (cp[i] != '\'' && cp[i] != '\"' &&
cp[i] != '\\') {
- error("Bad escaped character '\%c'",
+ error("Bad escaped character '\\%c'",
cp[i]);
goto fail;
}