]> granicus.if.org Git - php/commitdiff
error message was missing an argument
authorHartmut Holzgraefe <hholzgra@php.net>
Fri, 26 Sep 2003 07:50:02 +0000 (07:50 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Fri, 26 Sep 2003 07:50:02 +0000 (07:50 +0000)
ext/yp/yp.c

index 17ffb037665a380b3411858b78bd9e39d58f179f..b807bb908ea1c416cfced4452fca9ee84126440a 100644 (file)
@@ -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;
                        }
                }