Skip to content

Commit

Permalink
- Cleanup error output
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Gutmans committed Sep 30, 2000
1 parent 3f80efd commit ab8c6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_builtin_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ ZEND_FUNCTION(trigger_error)
ZEND_WRONG_PARAM_COUNT();
}
convert_to_string_ex(z_error_message);
zend_error(error_type, (*z_error_message)->value.str.val);
zend_error(error_type, "%s", (*z_error_message)->value.str.val);
RETURN_TRUE;
}
/* }}} */
Expand Down

0 comments on commit ab8c6ed

Please sign in to comment.