diff options
Diffstat (limited to 'ext/yp/yp.c')
| -rw-r--r-- | ext/yp/yp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/yp/yp.c b/ext/yp/yp.c index 17ffb03766..b807bb908e 100644 --- a/ext/yp/yp.c +++ b/ext/yp/yp.c @@ -302,7 +302,7 @@ static int php_foreach_cat (int instatus, char *inkey, int inkeylen, char *inval add_assoc_stringl_ex((zval *) indata, key, inkeylen+1, inval, invallen, 1); efree(key); } else { - php_error(E_WARNING, "Can't allocate %d bytes for key buffer in yp_cat()"); + php_error(E_WARNING, "Can't allocate %d bytes for key buffer in yp_cat()"), inkeylen+1; } } |
