summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 2ece91aa2e..6d26d6d557 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -4342,7 +4342,7 @@ put_escstr(fd, strstart, what)
if (p != NULL)
{
while (*p != NUL)
- if (putc(*p++, fd) < 0)
+ if (fputc(*p++, fd) < 0)
return FAIL;
--str;
continue;