summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-08-27 11:34:52 +0800
committerXinchen Hui <laruence@php.net>2015-08-27 11:38:11 +0800
commitc359ca8c3dea661cc2faa95270f59469ee8ee9d0 (patch)
tree193bcd59d089e64ef1c37d23d8b916015e168dcb /sapi/phpdbg/phpdbg.c
parentb795ce6de54b303c51b3d6f6437ed981afd9fd57 (diff)
downloadphp-git-c359ca8c3dea661cc2faa95270f59469ee8ee9d0.tar.gz
Fixed printing
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index 8a22ea29ca..08fb029d92 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -292,11 +292,11 @@ static PHP_FUNCTION(phpdbg_exec)
ZVAL_TRUE(return_value);
}
} else {
- zend_error(E_WARNING, "Failed to set execution context (%s), not a regular file or symlink", exec);
+ zend_error(E_WARNING, "Failed to set execution context (%s), not a regular file or symlink", ZSTR_VAL(exec));
ZVAL_FALSE(return_value);
}
} else {
- zend_error(E_WARNING, "Failed to set execution context (%s) the file does not exist", exec);
+ zend_error(E_WARNING, "Failed to set execution context (%s) the file does not exist", ZSTR_VAL(exec));
ZVAL_FALSE(return_value);
}