mirror of
https://github.com/php/php-src.git
synced 2025-01-19 18:24:15 +08:00
fix typo in errmsg
This commit is contained in:
parent
94b3210c38
commit
5bc435c4e8
@ -549,7 +549,7 @@ PHP_FUNCTION(pcntl_signal)
|
||||
/* Special long value case for SIG_DFL and SIG_IGN */
|
||||
if (Z_TYPE_P(handle)==IS_LONG) {
|
||||
if (Z_LVAL_P(handle)!= (long) SIG_DFL && Z_LVAL_P(handle) != (long) SIG_IGN) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid value for handle argument specifEied");
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid value for handle argument specified");
|
||||
}
|
||||
if (php_signal(signo, (Sigfunc *) Z_LVAL_P(handle), (int) restart_syscalls) == SIG_ERR) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error assigning signal");
|
||||
|
Loading…
Reference in New Issue
Block a user