summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sftp.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2004-06-25 23:21:39 +0000
committerDamien Miller <djm@cvs.openbsd.org>2004-06-25 23:21:39 +0000
commitc0725954208ad1f6839ccd8c367e1d06359adbf1 (patch)
tree4cff2d2ae29f76b0b7d050139caf6ec01ebf38bd /usr.bin/ssh/sftp.c
parent4213c1dc4ca113a27c547ad390fd05f78e947cc4 (diff)
bz #875: fix bad escape char error message; reported by f_mohr AT yahoo.de
Diffstat (limited to 'usr.bin/ssh/sftp.c')
-rw-r--r--usr.bin/ssh/sftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c
index bec4cbee1f8..8a9cf70a2c5 100644
--- a/usr.bin/ssh/sftp.c
+++ b/usr.bin/ssh/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 <glob.h>
@@ -424,7 +424,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;
}