Return to pr.c CVS log | Up to [local] / src / usr.bin / pr |
version 1.26, 2008/04/18 20:18:21 | version 1.27, 2009/02/07 17:51:22 | ||
---|---|---|---|
|
|
||
/* | /* | ||
* allocate page buffer | * allocate page buffer | ||
*/ | */ | ||
if ((buf = malloc((unsigned)lines*mxlen)) == NULL) { | if ((buf = calloc((unsigned)lines, mxlen)) == NULL) { | ||
mfail(); | mfail(); | ||
return(1); | return(1); | ||
} | } |