summaryrefslogtreecommitdiff
path: root/phpdbg_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'phpdbg_cmd.c')
-rw-r--r--phpdbg_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c
index 8429ce280e..1d78c53321 100644
--- a/phpdbg_cmd.c
+++ b/phpdbg_cmd.c
@@ -479,7 +479,7 @@ disconnect:
#ifndef HAVE_LIBREADLINE
if (!(PHPDBG_G(flags) & PHPDBG_IS_REMOTE)) {
- if (!phpdbg_write(phpdbg_get_prompt(TSRMLS_C))) {
+ if (!phpdbg_write("%s", phpdbg_get_prompt(TSRMLS_C))) {
goto disconnect;
}
}