Skip to content

Commit e7806e4

Browse files
[%pS migration] Use %pS in ext/dom/xml_common.h
1 parent a0629a2 commit e7806e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ext/dom/xml_common.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj);
5555
#define NODE_GET_OBJ(__ptr, __id, __prtype, __intern) { \
5656
__intern = Z_LIBXML_NODE_P(__id); \
5757
if (UNEXPECTED(__intern->node == NULL)) { \
58-
php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", \
59-
ZSTR_VAL(Z_OBJCE_P(__zv)->name));\
58+
php_error_docref(NULL, E_WARNING, "Couldn't fetch %pS", \
59+
Z_OBJCE_P(__zv)->name);\
6060
RETURN_NULL();\
6161
} \
6262
__ptr = (__prtype)__intern->node->node; \

0 commit comments

Comments
 (0)