SCCS-vsn: sys/stand.att/printf.c 5.5
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)printf.c 5.4 (Berkeley) %G%
+ * @(#)printf.c 5.5 (Berkeley) %G%
*/
#include <sys/cdefs.h>
*/
#include <sys/cdefs.h>
/*
* Note that stdarg.h and the ANSI style va_start macro is used for both
/*
* Note that stdarg.h and the ANSI style va_start macro is used for both
unsigned long ul;
int base;
{
unsigned long ul;
int base;
{
- char *p, buf[11]; /* hold 2^32 in base 8 */
+ /* hold a long in base 8 */
+ char *p, buf[(sizeof(long) * NBBY / 3) + 1];