Skip to content

Commit 3cefd33

Browse files
[%pS migration] Use %pS in ext/exif
1 parent e2fa0c9 commit 3cefd33

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ext/exif/exif.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ ZEND_INI_MH(OnUpdateEncode)
110110
size_t return_size;
111111
if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value),
112112
&return_list, &return_size, 0)) {
113-
php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%s'", ZSTR_VAL(new_value));
113+
php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%pS'", new_value);
114114
return FAILURE;
115115
}
116116
pefree((void *) return_list, 0);
@@ -125,7 +125,7 @@ ZEND_INI_MH(OnUpdateDecode)
125125
size_t return_size;
126126
if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value),
127127
&return_list, &return_size, 0)) {
128-
php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%s'", ZSTR_VAL(new_value));
128+
php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%pS'", new_value);
129129
return FAILURE;
130130
}
131131
pefree((void *) return_list, 0);

0 commit comments

Comments
 (0)