fix a minor but important thinko that caused a nasty seg

This commit is contained in:
Bill Currie 2001-08-27 05:15:39 +00:00
parent 5e4d7e4376
commit abb1469364

View file

@ -580,7 +580,7 @@ PF_sprintf (progs_t *pr)
format = G_STRING (pr, OFS_PARM0);
c = format;
out = malloc (out_size);
out = malloc (out_max);
if (!out)
goto mallocerror;