summaryrefslogtreecommitdiff
path: root/ext/yp
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2003-09-26 07:50:02 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2003-09-26 07:50:02 +0000
commit3735d2f8bdaf2d2cb0231711a11891054390e6ec (patch)
tree9072816c0187229d02493de2977622d2de89c577 /ext/yp
parentee922e30855e3263efe5ddbf267c4489d1774a9b (diff)
downloadphp-git-3735d2f8bdaf2d2cb0231711a11891054390e6ec.tar.gz
error message was missing an argument
Diffstat (limited to 'ext/yp')
-rw-r--r--ext/yp/yp.c2
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;
}
}