diff options
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | 18 | ||
19 | RCSID("$OpenBSD: sftp.c,v 1.54 2004/06/22 01:16:39 djm Exp $"); | 19 | RCSID("$OpenBSD: sftp.c,v 1.55 2004/06/25 23:21:38 djm Exp $"); |
20 | 20 | ||
21 | #include "buffer.h" | 21 | #include "buffer.h" |
22 | #include "xmalloc.h" | 22 | #include "xmalloc.h" |
@@ -428,7 +428,7 @@ get_pathname(const char **cpp, char **path) | |||
428 | i++; | 428 | i++; |
429 | if (cp[i] != '\'' && cp[i] != '\"' && | 429 | if (cp[i] != '\'' && cp[i] != '\"' && |
430 | cp[i] != '\\') { | 430 | cp[i] != '\\') { |
431 | error("Bad escaped character '\%c'", | 431 | error("Bad escaped character '\\%c'", |
432 | cp[i]); | 432 | cp[i]); |
433 | goto fail; | 433 | goto fail; |
434 | } | 434 | } |